AllowFullChatPermissionUserToDeleteAnyMessage
Parameter of CsTeamsMessagingPolicy
Description
This setting determines if users with the 'Full permissions' role can delete any group or meeting chat message within their tenant. Possible values: True, False
Characteristics
- Type
Boolean- Parameter sets
- (All)
Apply
# Required module: Install-Module MicrosoftTeams
Connect-MicrosoftTeams
Set-CsTeamsMessagingPolicy -Identity 'Global' -AllowFullChatPermissionUserToDeleteAnyMessage $false
Get-CsTeamsMessagingPolicy -Identity 'Global' | Select-Object Identity, AllowFullChatPermissionUserToDeleteAnyMessage Assign to users: Grant-CsTeamsMessagingPolicy Microsoft Learn documentation