i have an internal reporting application and i run it in system context?
I want to use the local azure ad identity to connect and authenticate to the app which is configured to Azure AD integration.
It looks like there is a certificate enrolled on the device from Azure AD Domain join - but how do I use the certificate to get a Token for the Function App?
In order to enable Function App Authentication with Azure AD Joined App or Azure AD app. Refer the steps below:-
Add your Azure AD Certificate in the Key vault and give the Azure AD App access to the certificate via Access Policy or RBAC refer here.
Then run the below code in the Powershell Function HTTP Trigger:-
Refer this SO thread answer for the same scenario.