Get-PnPTeamsTag
SYNOPSIS
Required Permissions
- Microsoft Graph API : TeamWorkTag.Read, Group.Read.All
Gets one or all tags in a team.
SYNTAX
Get-PnPTeamsTag -Team <TeamsTeamPipeBind> [-Identity <string>]
DESCRIPTION
EXAMPLES
EXAMPLE 1
Get-PnPTeamsTag -Team 5beb63c5-0571-499e-94d5-3279fdd9b6b5
Retrieves all the tags for the specified Microsoft Teams instance.
EXAMPLE 2
Get-PnPTeamsTag -Team 5beb63c5-0571-499e-94d5-3279fdd9b6b5 -Identity "ZmY1ZjdmMjctZDhiNy00MWRkLTk2ZDQtYzcyYmVhMWIwOGYxIyM3ZTVhNGRmZS1kNWNlLTRkOTAtODM4MC04ZDIxM2FkYzYzOGIjI3RiVlVpR01rcg=="
Retrieves a tag with the specified Id from the specified team.
PARAMETERS
-Identity
Specify the id of the tag
Type: TeamsTagPipeBind
Parameter Sets: (All)
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Team
Specify the group id, mailNickname or display name of the team to use.
Type: TeamsTeamPipeBind
Parameter Sets: (All)
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False