yes I know. Tried that and it still doesn't work
API not authenticating with Azure
unable to authenticate API when using Microsoft Graph component and granting access.
2 answers
Sort by: Most helpful
-
-
Yakun Huang-MSFT 10,555 Reputation points Microsoft External Staff
2025-03-12T01:50:56.1433333+00:00 Hello scottj,
Thank you for reaching out to Microsoft Support!
If you have no problem granting permissions, then you need to get tokens through different streams depending on the type of permissions you grant.
Delegated permissions: Use auth code flow to get access tokens
Application permissions: Access tokens are obtained using client credentials flow
Reference document:
https://learn.microsoft.com/en-us/graph/auth-v2-user?tabs=http
https://learn.microsoft.com/en-us/graph/auth-v2-service?tabs=http
Hope this helps.
If the answer is helpful, please click Accept Answer and kindly upvote it. If you have any further questions about this answer, please click Comment.