Examples/Resources/TeamsGuestMessagingConfiguration/1-ConfigureTeamsGuestMessaging.ps1
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
<#
This example is used to configure the tenant's Guest Messaging settings for Teams #> Configuration Example { param( [Parameter(Mandatory = $true)] [PSCredential] $credsGlobalAdmin ) Import-DscResource -ModuleName Microsoft365DSC node localhost { TeamsGuestMessagingConfiguration TeamsGuestMessagingConfig { AllowGiphy = $True; AllowImmersiveReader = $False; AllowMemes = $True; AllowStickers = $True; AllowUserChat = $True; AllowUserDeleteMessage = $False; AllowUserEditMessage = $True; GiphyRatingType = "Moderate"; GlobalAdminAccount = $credsglobaladmin; Identity = "Global"; } } } |