I have a simple function app with HTTP trigger: Function app code snippet
I have authorized my function app with AAD. I am able to get the access token successfully from v2 token url https://login.microsoftonline.com/<TENENT_ID>/oauth2/v2.0/token
In scope I am passing the Application ID URI from app registration.
But when I am trying to pass the access token in header while invoking function app url, I am getting 401. 401 postman
Not sure what I am missing. Please help