en-US

AllowMemes

Parameter of CsTeamsMessagingPolicy

Description

Determines whether a user is allowed to access and post memes. 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' -AllowMemes $false
Get-CsTeamsMessagingPolicy -Identity 'Global' | Select-Object Identity, AllowMemes

Assign to users: Grant-CsTeamsMessagingPolicy Microsoft Learn documentation