Skip to content

Update Set-CsTeamsMessagingPolicy.md #12125

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
205 changes: 200 additions & 5 deletions teams/teams-ps/teams/Set-CsTeamsMessagingPolicy.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ online version: https://learn.microsoft.com/powershell/module/teams/set-csteamsm
applicable: Microsoft Teams
title: Set-CsTeamsMessagingPolicy
schema: 2.0.0
manager: bulenteg
author: tomkau
ms.author: tomkau
ms.reviewer: williamlooney
---

# Set-CsTeamsMessagingPolicy
Expand All @@ -21,12 +17,21 @@ The CsTeamsMessagingPolicy cmdlets enable administrators to control if a user is
```
Set-CsTeamsMessagingPolicy [[-Identity] <XdsIdentity>]
[-Allow [-ReadReceiptsEnabledType <String>]
[-AllowChatWithGroup <Boolean>]
[-AllowCommunicationComplianceEndUserReporting <Boolean>]
[-AllowCustomGroupChatAvatars <Boolean>]
[-AllowFluidCollaborate <Boolean>]
[-AllowFullChatPermissionUserToDeleteAnyMessage <Boolean>]
[-AllowGiphy <Boolean>]
[-AllowGiphyDisplay <Boolean>]
[-AllowGroupChatJoinLinks <Boolean>]
[-AllowImmersiveReader <Boolean>]
[-AllowMemes <Boolean>]
[-AllowOwnerDeleteMessage <Boolean>]
[-AllowPasteInternetImage <Boolean>]
[-AllowPriorityMessages <Boolean>]
[-AllowRemoveUser <Boolean>]
[-AllowSecurityEndUserReporting <Boolean>]
[-AllowSmartCompose] <Boolean>]
[-AllowSmartReply <Boolean>]
[-AllowStickers <Boolean>]
Expand All @@ -36,6 +41,7 @@ Set-CsTeamsMessagingPolicy [[-Identity] <XdsIdentity>]
[-AllowUserDeleteMessage <Boolean>]
[-AllowUserEditMessage <Boolean>]
[-AllowUserTranslation <Boolean>]
[-AllowVideoMessages <Boolean>]
[-AudioMessageEnabledType <AudioMessageEnabledTypeEnum>]
[-ChannelsInChatListEnabledType <ChannelsInChatListEnabledTypeEnum>]
[-ChatPermissionRole <String>]
Expand All @@ -46,6 +52,7 @@ Set-CsTeamsMessagingPolicy [[-Identity] <XdsIdentity>]
[-DesignerForBackgroundsAndImages <DesignerForBackgroundsAndImagesTypeEnum>]
[-Force]
[-GiphyRatingType <String>]
[-InOrganizationChatControl <String>]
[-Tenant <Guid>]
[-WhatIf]
[<CommonParameters>]
Expand All @@ -54,12 +61,21 @@ Set-CsTeamsMessagingPolicy [[-Identity] <XdsIdentity>]
### Instance
```
Set-CsTeamsMessagingPolicy [-Instance <PSObject>]
[-AllowChatWithGroup <Boolean>]
[-AllowCommunicationComplianceEndUserReporting <Boolean>]
[-AllowCustomGroupChatAvatars <Boolean>]
[-AllowFluidCollaborate <Boolean>]
[-AllowFullChatPermissionUserToDeleteAnyMessage <Boolean>]
[-AllowGiphy <Boolean>]
[-AllowGiphyDisplay <Boolean>]
[-AllowGroupChatJoinLinks <Boolean>]
[-AllowImmersiveReader <Boolean>]
[-AllowMemes <Boolean>]
[-AllowOwnerDeleteMessage <Boolean>]
[-AllowPriorityMessages <Boolean>]
[-AllowPasteInternetImage <Boolean>]
[-AllowRemoveUser <Boolean>]
[-AllowSecurityEndUserReporting <Boolean>]
[-AllowSmartCompose] <Boolean>]
[-AllowSmartReply <Boolean>]
[-AllowStickers <Boolean>]
Expand All @@ -69,6 +85,7 @@ Set-CsTeamsMessagingPolicy [-Instance <PSObject>]
[-AllowUserDeleteMessage <Boolean>]
[-AllowUserEditMessage <Boolean>]
[-AllowUserTranslation <Boolean>]
[-AllowVideoMessages <Boolean>]
[-AudioMessageEnabledType <AudioMessageEnabledTypeEnum>]
[-ChannelsInChatListEnabledType <ChannelsInChatListEnabledTypeEnum>]
[-Confirm]
Expand All @@ -78,6 +95,7 @@ Set-CsTeamsMessagingPolicy [-Instance <PSObject>]
[-DesignerForBackgroundsAndImages <DesignerForBackgroundsAndImagesTypeEnum>]
[-Force]
[-GiphyRatingType <String>]
[-InOrganizationChatControl <String>]
[-ReadReceiptsEnabledType <String>]
[-Tenant <Guid>]
[-WhatIf]
Expand Down Expand Up @@ -126,6 +144,88 @@ Accept pipeline input: False
Accept wildcard characters: False
```

### -AllowChatWithGroup

This setting determines if users can chat with groups (Distribution, M365 and Security groups).
Possible values: True, False

```yaml
Type: Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -AllowCommunicationComplianceEndUserReporting

This setting determines if users can report offensive messages to their admin for Communication Compliance.
Possible Values: True, False

```yaml
Type: Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -AllowCustomGroupChatAvatars
These settings enables, disables updating or fetching custom group chat avatars for the users included in the messaging policy.
Possible values: True, False

```yaml
Type: Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -AllowFluidCollaborate
This field enables or disables Fluid Collaborate feature for users.
Possible values: True, False

```yaml
Type: Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -AllowFullChatPermissionUserToDeleteAnyMessage
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

```yaml
Type: Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -AllowGiphy
Determines whether a user is allowed to access and post Giphys. Set this to TRUE to allow. Set this FALSE to prohibit.

Expand All @@ -143,6 +243,38 @@ Accept pipeline input: False
Accept wildcard characters: False
```

### -AllowGiphyDisplay
Determines if Giphy images should be displayed that had been already sent or received in chat.
Possible values: True, False

```yaml
Type: Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -AllowGroupChatJoinLinks
This setting determines if users in a group chat can create and share join links for other users within the organization to join that chat.
Possible values: True, False

```yaml
Type: Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -AllowImmersiveReader
Determines whether a user is allowed to use Immersive Reader for reading conversation messages. Set this to TRUE to allow. Set this FALSE to prohibit.

Expand Down Expand Up @@ -188,8 +320,40 @@ Accept pipeline input: False
Accept wildcard characters: False
```

### -AllowPasteInternetImage
Determines if a user is allowed to paste internet-based images in compose.
Possible values: True, False

```yaml
Type: Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -AllowPriorityMessages
Determines whether a user is allowed to send priorities messages. Set this to TRUE to allow. Set this FALSE to prohibit.
Determines whether a user is allowed to send priority messages. Set this to TRUE to allow. Set this FALSE to prohibit.

```yaml
Type: Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -AllowSecurityEndUserReporting
This setting determines if users can report any security concern posted in message to their admin.
Possible values: True, False

```yaml
Type: Boolean
Expand Down Expand Up @@ -355,6 +519,22 @@ Accept pipeline input: False
Accept wildcard characters: False
```

### -AllowVideoMessages
This setting determines if users can create and send video messages.
Possible values: True, False

```yaml
Type: Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -AudioMessageEnabledType
Determines whether a user is allowed to send audio messages. Possible values are: ChatsAndChannels, ChatsOnly, Disabled.

Expand Down Expand Up @@ -520,6 +700,21 @@ Accept pipeline input: False
Accept wildcard characters: False
```

### -InOrganizationChatControl
This setting determines if chat regulation for internal communication in the tenant is allowed.

```yaml
Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -ReadReceiptsEnabledType
Use this setting to specify whether read receipts are user controlled, enabled for everyone, or disabled. Set this to UserPreference, Everyone or None.

Expand Down