Add support for obtaining Tokens with Managed Identity in Logic Apps
Add support for obtaining tokens for Managed Identities for Azure and Microsoft 365 / Graph resources.
Even though Logic Apps can authenticate to Azure resources using supported connectors, ref. https://docs.microsoft.com/en-us/azure/logic-apps/create-managed-service-identity#authenticate-access-with-managed-identity, I would like to be able to obtain an access token via a internal Identity Endpoint for the Logic App, similar to the functionality of Azure Functions/App Services:
One of the scenarios I'm looking for is getting an access token for eg. Microsoft Graph, using https://graph.microsoft.com as audience, which is not possible today using Logic Apps and Managed Identities, but works with Azure Functions, App Services, Azure VMs etc. I want the same possibilities with Logic Apps.
Laveesh Bansal (Azure Logic Apps team) commented
Hi Jan -- can you describe your scenario a bit more? What do you intend to do with the token once you have obtained it? If you want to use the token (with https://graph.microsoft.com audience) to call an HTTP endpoint, you can do that today in logic apps with HTTP action w/ managed identity authentication.
Is there something else you are trying to achieve?