Getting 'Authorization_RequestDenied' message while using GET method in Postman tool for Graph groups api

Kannappa Chandrasekaran 21 Reputation points
2021-09-07T05:55:58.61+00:00

129660-access-denied-error-message.pngWhile using POSTMAN tool to GET the 'groups' data from Graph.microsoft.com, I am getting 'Authorization_RequestDenied' message. I am very new to this and dont know, how to proceed further. Can you pls help.

If you have sample api to get the groups data from Graph.microsoft.com, can you pls share.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,457 questions
0 comments No comments
{count} votes

Accepted answer
  1. CarlZhao-MSFT 40,311 Reputation points
    2021-09-07T07:01:30.347+00:00

    This is because your token does not have permission.

    First, you need grant the Group.Read.All application permission to the application and grant the admin consent.

    129710-295.png

    Next, you can use the client credential flow to get the token.

    129718-image.png

    129795-image.png

    Call the api.

    129749-image.png


    If an Answer is helpful, please click "Accept Answer" and upvote it.


0 additional answers

Sort by: Most helpful