Hi @Andreas Hesse,
If you want to verify whether your token has the relevant permissions to access group members, you can parse the token in this link and then check whether the scp
attribute has permissions:
Here are the permissions required to list group members: List group members permissions.
To add graph permissions, you can follow steps below:
- Go to the app's API permissions page.
- Select Add a permission and then choose Microsoft Graph in the flyout.
- Select Delegated permissions or Application permissions.
- Use the search box to find and select the required permissions.
If you want to build a project to call Microsoft Graph Api, you can refer to the code in the official documentation:
Choose a Microsoft Graph authentication provider based on the scenario.
Hope this helps.
If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional questions about this answer, please click Comment.