en-US

EnablePrivateTeamDiscovery

Parameter of CsTeamsChannelsPolicy

Description

Determines whether a user is allowed to discover private teams in suggestions and search results. Set this to TRUE to allow. Set this FALSE to prohibit.

Microsoft Learn documentation

Characteristics

Type
Boolean
Parameter sets
(All)

Apply

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

Assign to users: Grant-CsTeamsChannelsPolicy Microsoft Learn documentation