en-US

AllowRemoveUser

Parameter of CsTeamsMessagingPolicy

Description

Determines whether a user is allowed to remove a user from a conversation. 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-CsTeamsMessagingPolicy -Identity 'Global' -AllowRemoveUser $false
Get-CsTeamsMessagingPolicy -Identity 'Global' | Select-Object Identity, AllowRemoveUser

Assign to users: Grant-CsTeamsMessagingPolicy Microsoft Learn documentation