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.

    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.

Custom connector in Power Platform

Note

To call the API from the PowerApps 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