en-US

AllowUserChat

Parameter of CsTeamsMessagingPolicy

Description

Determines whether a user is allowed to chat. Set this to TRUE to allow a user to chat across private chat, group chat and in meetings. Set this to FALSE to prohibit all chat.

Microsoft Learn documentation

Characteristics

Type
Boolean
Parameter sets
(All)

Apply

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

Assign to users: Grant-CsTeamsMessagingPolicy Microsoft Learn documentation