Get-PnPTeamsPrimaryChannel
SYNOPSIS
Required Permissions
- Microsoft Graph API : Channel.ReadBasic.All, ChannelSettings.Read.All, ChannelSettings.ReadWrite.All
Gets the default channel, General, of a team.
SYNTAX
Get-PnPTeamsPrimaryChannel -Team <TeamsTeamPipeBind> [-Identity <TeamsChannelPipeBind>]
DESCRIPTION
Gets the default channel, General, of a team.
EXAMPLES
EXAMPLE 1
Get-PnPTeamsPrimaryChannel -Team ee0f40fc-b2f7-45c7-b62d-11b90dd2ea8e
Gets the default channel of the Team with the provided Id
EXAMPLE 2
Get-PnPTeamsPrimaryChannel -Team Sales
Gets the default channel of the Sales Team
PARAMETERS
-Team
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
RELATED LINKS
Microsoft 365 Patterns and Practices Microsoft Graph documentation