question

ProjetCRI-4030 avatar image
0 Votes"
ProjetCRI-4030 asked ShivaKeshavVarma-2446 answered

403 Error with Postman Microsoft Graph API

I'm trying to use Microsoft Graph API with Postman. I've thus followed step by step what is described here: https://docs.microsoft.com/en-us/graph/use-postman

I'm blocked at the "Set up application API calls" Step 5: "Select Update. Close the Manage Environments dialog box. In the MicrosoftGraph | Application collection on left side, choose Get App-only Access Token. Then choose Send on the right."

I have granted all the permissions in AAD:
- Directory.ReadWrite.All
- User.ReadWrite.All
but I still have the same 403 error when executing GET https://graph.microsoft.com/v1.0/users
"Insufficient privileges to complete the operation."

Please someone help with this? I've looking for a solution for several hours and nothing helped...

39296-capture-decran-2020-11-12-a-113937-2.png


microsoft-graph-users
· 1
5 |1600 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.

Please check your token on JWT site and see if the permissions are present in the token. Since you are using App only token, check if you have adding application permissions(User.Read.All) on Application in Azure AD.

0 Votes 0 ·

1 Answer

ShivaKeshavVarma-2446 avatar image
0 Votes"
ShivaKeshavVarma-2446 answered

Please check your token on JWT site and see if the permissions are present in the token. Since you are using App only token, check if you have adding application permissions(User.Read.All) on Application in Azure AD.


5 |1600 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.