question

Oliver-3393 avatar image
0 Votes"
Oliver-3393 asked ·

Authentication for HTTP Trigger

I create a Azure Function App with HTTP Trigger. I want to call this api with authentication.
So I create a App registration from Authentication (preview).

I get access token from "https://login.microsoftonline.com/<tenant id>/oauth2/token"
But this token couldn't use for the API.

Did I miss anything?

azure-functionsazure-ad-app-registration
· 1
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@Oliver-3393
Thank you for your post and I apologize for the delayed response!

  • When it comes to getting the access token, are you able to share the documentation you followed for this? So I can gain a better understanding of your issue.

  • Have you tried this access Token within another app? For example Postman, to see if any request would work?

  • Have you tried https://login.microsoftonline.com/{tenantId}/oauth2/v2.0/token?


OAuth 2.0 authorization code flow - Request an access token


Any additional information is much appreciated.
Thank you for your time and patience throughout this issue.

0 Votes 0 ·

0 Answers