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.
Next, you can use the client credential flow to get the token.
Call the api.
If an Answer is helpful, please click "Accept Answer" and upvote it.
While 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.