en-US

AllowChannelSharingToExternalUser

Parameter of CsTeamsChannelsPolicy

Description

Owners of a shared channel can invite external users to join the channel if Microsoft Entra external sharing policies are configured. If the channel has been shared with an external member or team, they will continue to have access to the channel even if this parameter is set to FALSE. For more information, see Manage channel policies in Microsoft Teams.

Microsoft Learn documentation

Characteristics

Type
Boolean
Parameter sets
(All)

Apply

# Required module: Install-Module MicrosoftTeams
Connect-MicrosoftTeams
Set-CsTeamsChannelsPolicy -Identity 'Global' -AllowChannelSharingToExternalUser $false
Get-CsTeamsChannelsPolicy -Identity 'Global' | Select-Object Identity, AllowChannelSharingToExternalUser

Assign to users: Grant-CsTeamsChannelsPolicy Microsoft Learn documentation