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?
Nills Franssens
Microsoft
Oct 29, 2020BobbyJ10 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
BobbyJ10
Oct 29, 2020Brass Contributor
Nills FranssensAwesome thank you!
- AnthonyChuOct 30, 2020
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