Integrate Azure API Management with Azure Functions using Managed Identity and Active Directory Authentication

Cosmin Stirbu 151 Reputation points
2021-06-14T12:11:38.39+00:00

Hi,

Is there a way to restrict which resources (particularly APIM instances) using managed identity can integrate with an Azure Function protected by Azure AD authentication?

Basically we've performed the following steps to integrate the APIM with the Azure Function:

  1. Configured the Azure Function to use Azure AD login, as per docs
  2. Enabled Managed Identity on the API Management resources as per docs

However it's not clear how to disable any other API Management resource follow step 2 and integrate with the function?

Thank you,
Cosmin

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
1,782 questions
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,334 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,693 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Pramod Valavala 20,591 Reputation points Microsoft Employee
    2021-06-21T09:33:47.127+00:00

    @Cosmin Stirbu This is a service-to-service call and can be authorized via app roles. This section of the docs describes the steps required. This would need validation in your function app.