Forum Discussion
BobbyJ10
Oct 29, 2020Brass Contributor
Durable Function calling (non-durable) Azure Function in different Function App
What is the recommended approach for a Durable Function (App1) to call a (non-durable) Azure Function (App2) in different Function App when App2 has AAD authentication enabled?
3 Replies
Sort By
- Nills Franssens
Microsoft
BobbyJ10 If you have AAD authentication enabled, the best way to authenticate is using the managed identity of the function. More info here: https://docs.microsoft.com/en-us/azure/app-service/overview-managed-identity?tabs=dotnet
- BobbyJ10Brass Contributor
Nills FranssensAwesome thank you!
- AnthonyChu
Microsoft
Yep managed identity should work. You can make http calls with managed identity from a Durable Functions orchestrator with the call http feature: https://docs.microsoft.com/en-us/azure/azure-functions/durable/durable-functions-http-features?tabs=csharp#consuming-http-apis