azure-docs icon indicating copy to clipboard operation
azure-docs copied to clipboard

Use Managed Identity during Logic App local development to Authenticate against Azure Function

Open MarekLani opened this issue 2 years ago • 1 comments

I followed example of developing logic apps locally; however, I am not able to find any guidance on the specific scenario I need to implement. My workflow scenario requires calling an Azure Function which has authentication enabled (Easy Auth). When Logic App from portal, it is fairly straightforward, and I managed to implement the workflow using this approach (https://learn.microsoft.com/en-us/azure/logic-apps/logic-apps-azure-functions?tabs=consumption#enable-authentication-for-function-calls).

Please is there a way to inject/use identity for locally running Logic App and use this identity when calling Azure Function? Is there any documentation you could point me to?

Thank you!


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

MarekLani avatar Nov 11 '22 08:11 MarekLani

@MarekLani Thanks for reaching out. We will review and update as appropriate.

mumurug-MSFT avatar Nov 11 '22 13:11 mumurug-MSFT

Hello, please is there any guidance/update you could share with me.

MarekLani avatar Dec 08 '22 08:12 MarekLani

Hi @MarekLani,

In Standard logic apps, the Azure Functions connector doesn't support managed identities: Where you can use a managed identity and Authentication types for connectors that support authentication.

ecfan avatar Dec 08 '22 17:12 ecfan

To submit a feature request so others can also vote on your suggestion, please visit the Azure Logic Apps feedback forum.

ecfan avatar Dec 08 '22 17:12 ecfan

thank you for response. I actually found valuable blog posts: https://techcommunity.microsoft.com/t5/integrations-on-azure-blog/parameterizing-managed-connections-with-logic-apps-standard/ba-p/3660679 and https://techcommunity.microsoft.com/t5/integrations-on-azure-blog/deploying-logic-app-standard-resource-through-devops-pipeline/ba-p/3541427 they very well describe, how to parametrize authentication/connections, which enables different authentication types for local dev and for Azure deployments. It would be great to have these blog posts as part of the official documentation

MarekLani avatar Dec 08 '22 17:12 MarekLani

Closing this thread as work item is on backlog. #please-close

ecfan avatar Dec 06 '23 23:12 ecfan