Scenario:
”I want to secure an Azure Function using Azure Active Directory (AAD) and call it from a PowerApp using a custom connector. There are a few different docs out there that can help me figure it out. However, I haven’t found anything that shows how to do it beginning to end.”
While the info in this documentation is the bulk of the work:
It is written to be more generic and broadly applicable. It doesn’t cover Azure Functions specifically. Nor does it show you how to establish the PowerApps custom connector. So I pieced together what I know about Azure Functions and how you can enable AAD authentication using:
…since Azure Functions are built on top of Azure App Service, with this blog post:
…and extracted the relevant pieces to provide an end to end walkthrough:
HTH