Set-PnPTeamsTab

Tip

We encourage you to make improvements to this documentation. Please navigate to https://github.com/pnp/powershell/blob/dev/documentation/Set-PnPTeamsTab.md to change this file.

Required Permissions

  • Microsoft Graph API: Group.ReadWrite.All

Updates Teams Tab settings

Syntax

Set-PnPTeamsTab
   -Team <TeamsTeamPipeBind>
   -Channel <TeamsChannelPipeBind>
   [-Identity <TeamsTabPipeBind>]
   [-DisplayName <String>] 
   [<CommonParameters>]

Examples

EXAMPLE 1

Set-PnPTeamsTab -Team "MyTeam" -Channel "My Channel" -Identity "Wiki" -DisplayName "Channel Wiki"

Updates the tab named 'Wiki' and changes the display name of the tab to 'Channel Wiki'

Parameters

-Channel

Specify the channel id or display name of the channel to use.

Type:TeamsChannelPipeBind
Position:Named
Default value:None
Accept pipeline input:True
Accept wildcard characters:False
-DisplayName

The new name of the tab.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Identity

Identity of the tab.

Type:TeamsTabPipeBind
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
Position:Named
Default value:None
Accept pipeline input:True
Accept wildcard characters:False