en-US

AllowUserEditMessage

Parameter of CsTeamsMessagingPolicy

Description

Determines whether a user is allowed to edit their own messages. Set this to TRUE to allow. Set this to FALSE to prohibit.

Microsoft Learn documentation

Characteristics

Type
Boolean
Parameter sets
(All)

Apply

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

Assign to users: Grant-CsTeamsMessagingPolicy Microsoft Learn documentation