Skip to content

Files

Latest commit

06e1af7 · Jan 27, 2022

History

History
50 lines (36 loc) · 3.33 KB

export-api-power-platform.md

File metadata and controls

50 lines (36 loc) · 3.33 KB
title description services author ms.service ms.topic ms.date ms.author
Export APIs from Azure API Management to Microsoft Power Platform | Microsoft Docs
Learn how to export an API from API Management as a custom connector to Power Apps and Power Automate in the Microsoft Power Platform.
api-management
dlepow
api-management
how-to
07/27/2021
danlep

Export APIs from Azure API Management to the Power Platform

Citizen developers using the Microsoft Power Platform often need to reach the business capabilities that are developed by professional developers and deployed in Azure. Azure API Management enables professional developers to publish their backend service as APIs, and easily export these APIs to the Power Platform (Power Apps and Power Automate) as custom connectors for discovery and consumption by citizen developers.

This article walks through the steps in the Azure portal to create a custom Power Platform connector to an API in API Management. With this capability, citizen developers can use the Power Platform to create and distribute apps that are based on internal and external APIs managed by API Management.

Prerequisites

Create a custom connector to an API

  1. Navigate to your API Management service in the Azure portal.

  2. In the menu, under APIs, select Power Platform.

  3. Select Create a connector.

  4. In the Create a connector window, do the following:

    1. Select an API to publish to the Power Platform.
    2. Select a Power Platform environment to publish the API to.
    3. Enter a display name, which will be used as the name of the custom connector.
    4. Optionally, if the API is protected by an OAuth 2.0 server, provide details including Client ID, Client secret, Authorization URL, Token URL, and Refresh URL.
  5. Select Create.

    :::image type="content" source="media/export-api-power-platform/create-custom-connector.png" alt-text="Create custom connector to API in API Management":::

Once the connector is created, navigate to your Power Apps or Power Automate environment. You will see the API listed under Data > Custom Connectors.

:::image type="content" source="media/export-api-power-platform/custom-connector-power-app.png" alt-text="Custom connector in Power Platform":::

Note

To call the API from the Power Apps test console, you need to add the "https://flow.microsoft.com" URL as an origin to the CORS policy in your API Management instance.

Next steps