en-US

AllowChatWithGroup

Parameter of CsTeamsMessagingPolicy

Description

This setting determines if users can chat with groups (Distribution, M365 and Security groups). Possible values: True, False

Microsoft Learn documentation

Characteristics

Type
Boolean
Parameter sets
(All)

Apply

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

Assign to users: Grant-CsTeamsMessagingPolicy Microsoft Learn documentation