TeamworkTag.Read
Allows the app to read tags in Teams, on behalf of the signed-in user.
In short
TeamworkTag.Read is a delegated permission in the Microsoft Graph API, grouped under the TeamworkTag category. Allows the app to read tags in Teams, on behalf of the signed-in user. It grants read-only access to resources. This delegated permission requires admin consent.
Permission Details
Read tags in Teams
Allows the app to read tags in Teams, on behalf of the signed-in user.
57587d0b-8399-45be-b207-8050cec54575
Properties
Properties is shown from stable Microsoft Graph v1.0 metadata.
| Property | Type | Description |
|---|---|---|
description |
StringNullable |
The description of the tag as it appears to the user in Microsoft Teams. A teamworkTag can't have more than 200 teamworkTagMembers. |
displayName |
StringNullable |
The name of the tag as it appears to the user in Microsoft Teams. |
id |
String |
The unique identifier for the tag. Inherited from entity. |
memberCount |
Int32Nullable |
The number of users assigned to the tag. |
tagType |
teamworkTagType |
The type of the tag. Default is standard. |
teamId |
StringNullable |
ID of the team in which the tag is defined. |
members |
teamworkTagMember collection |
Users assigned to the tag. |
JSON Representation
JSON representation is shown from stable Microsoft Graph v1.0 metadata.
{
"@odata.type": "#microsoft.graph.teamworkTag",
"description": "String",
"displayName": "String",
"id": "String (identifier)",
"memberCount": "Int32",
"tagType": "String",
"teamId": "String"
}
Relationships
Relationships is shown from stable Microsoft Graph v1.0 metadata.
| Relationship | Type | Description |
|---|---|---|
members |
teamworkTagMember collection |
Users assigned to the tag. |
Graph Methods
Microsoft Graph v1.0 endpoints are mapped directly from refreshed Microsoft Learn permissions tables.
Microsoft Graph beta endpoints are mapped directly from refreshed Microsoft Learn permissions tables.
Microsoft Graph PowerShell v1.0 commands are mapped directly from refreshed Microsoft Learn PowerShell snippets.
Microsoft Graph PowerShell beta commands are mapped directly from refreshed Microsoft Learn PowerShell snippets.
Code Examples
// Code snippets are only available for the latest version. Current version is 5.x
// To initialize your graphClient, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=csharp
var result = await graphClient.Teams["{team-id}"].Tags["{teamworkTag-id}"].GetAsync();
const options = {
authProvider,
};
const client = Client.init(options);
let teamworkTag = await client.api('/teams/53c53217-fe77-4383-bc5a-ed4937a1aecd/tags/MjQzMmI1N2ItMGFiZC00M2RiLWFhN2ItMTZlYWRkMTE1ZDM0IyM3ZDg4M2Q4Yi1hMTc5LTRkZDctOTNiMy1hOGQzZGUxYTIxMmUjI3RhY29VSjN2RGk==')
.get();
Import-Module Microsoft.Graph.Teams
Get-MgTeamTag -TeamId $teamId -TeamworkTagId $teamworkTagId
# Code snippets are only available for the latest version. Current version is 1.x
from msgraph import GraphServiceClient
# To initialize your graph_client, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=python
result = await graph_client.teams.by_team_id('team-id').tags.by_teamwork_tag_id('teamworkTag-id').get()
App Registration
Navigate to Azure Portal
Go to App registrations in Microsoft Entra admin center
Add API Permission
Select your app → API permissions → Add a permission → Microsoft Graph
Select Permission Type
Choose Delegated permissions and search for TeamworkTag.Read
Grant Admin Consent
This delegated permission requires admin consent.
Frequently asked questions
What is the TeamworkTag.Read Microsoft Graph permission?
TeamworkTag.Read is a delegated permission in the Microsoft Graph API, grouped under the TeamworkTag category. Allows the app to read tags in Teams, on behalf of the signed-in user. It grants read-only access to resources. This delegated permission requires admin consent. It is mapped to the Microsoft Graph teamworktag resource type. 8 documented Microsoft Graph REST methods require it. 8 Microsoft Graph PowerShell commands are documented for it.
Is TeamworkTag.Read an application or a delegated permission?
TeamworkTag.Read is a delegated permission only. It grants access on behalf of a signed-in user and cannot be used for app-only access.
Does TeamworkTag.Read require admin consent?
This delegated permission requires admin consent.
What is the permission ID (GUID) for TeamworkTag.Read?
For TeamworkTag.Read, the delegated (OAuth2 scope) ID is 57587d0b-8399-45be-b207-8050cec54575. These are the real Microsoft Graph identifiers and can be used directly in an app registration manifest.