'Get app Roles with bearer token via Microsoft Graph API
I want to use the bearer token from the user to be sent to my api via a authorization header and then sent to graph api to return back if my app.admin role is applied to that user or not. What request could i send the the Microsoft graph api to receive if i have the proper app role.
Solution 1:[1]
Technically, the Graph API doesn't return bearer tokens, you need to request one from the Microsoft identity platform endpoint https://login.microsoftonline.com/{tenant}/oauth2/v2.0/authorize Full details can be found here:
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Ken W MSFT |
