Set-TeamMessagingSettings

Note: This cmdlet is currently in Beta.

Updates team messaging settings.

Syntax

Set-TeamMessagingSettings
   -GroupId <String>
   [-AllowUserEditMessages <String>]
   [-AllowUserDeleteMessages <String>]
   [-AllowOwnerDeleteMessages <String>]
   [-AllowTeamMentions <String>]
   [-AllowChannelMentions <String>]

Examples

-------------------------- Example 1 --------------------------

Set-TeamMessagingSettings -GroupId 4ba546e6-e28d-4645-8cc1-d3575ef9d266 -AllowUserEditMessages true

-------------------------- Example 2 --------------------------

Set-TeamMessagingSettings -GroupId 4ba546e6-e28d-4645-8cc1-d3575ef9d266 -AllowUserDeleteMessages false -AllowChannelMentions true

Required Parameters

-GroupId

GroupId of the team

Type:String
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
Applies to:Microsoft Teams

Optional Parameters

-AllowChannelMentions

Allow @channel or @[channel name] mentions. This wil notify members who've favorited that channel

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Microsoft Teams
-AllowOwnerDeleteMessages

Setting to allow owner to Delete messages

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Microsoft Teams
-AllowTeamMentions

Allow @team or @[team name] mentions. This will notify everyone in the team

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Microsoft Teams
-AllowUserDeleteMessages

Setting to allow user to delete messages

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Microsoft Teams
-AllowUserEditMessages

Setting to allow user to edit messages

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Microsoft Teams

Inputs

GroupId

AllowUserEditMessages

AllowUserDeleteMessages

AllowOwnerDeleteMessages

AllowTeamMentions

AllowChannelMentions