azuremicrosoft-teams

Granted Permissions to Retrieve Custom Tags lists in Microsoft Teams, but They Are Missing in Access Token


I have given permissions :

Delegated permissions

TeamworkTag.Read
TeamworkTag.ReadWrite
Teamwork.Read.All

Application permissions

Teamwork.Read.All
TeamworkTag.ReadWrite.All

Even after granting the required permissions, the access token does not include I have verified using of jwt.ms.

GET : https://graph.microsoft.com/v1.0/teams/{team-id}/tags enter image description here


Solution

  • The permission issue was resolved after authenticating through admin consent: https://login.microsoftonline.com/{tenantid}/adminconsent?client_id={client_id}