TeamworkTag.Read.All
Allows the app to read tags in Teams without a signed-in user.
Permission Details
Read tags in Teams
Allows the app to read tags in Teams without a signed-in user.
b74fd6c4-4bde-488e-9695-eeb100e4907f
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 Application permissions and search for TeamworkTag.Read.All
Grant Admin Consent
Application permissions always require admin consent.