Skip to content

Commit 6b1aa62

Browse files
Update New-CsTeamsMessagingPolicy.md
adding missing parameters for messaging policy and related links
1 parent 8b6f4cf commit 6b1aa62

File tree

1 file changed

+234
-9
lines changed

1 file changed

+234
-9
lines changed

teams/teams-ps/teams/New-CsTeamsMessagingPolicy.md

Lines changed: 234 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@ online version: https://learn.microsoft.com/powershell/module/teams/new-csteamsm
44
applicable: Microsoft Teams
55
title: New-CsTeamsMessagingPolicy
66
schema: 2.0.0
7-
manager: bulenteg
8-
author: tomkau
9-
ms.author: tomkau
10-
ms.reviewer: williamlooney
117
---
128

139
# New-CsTeamsMessagingPolicy
@@ -17,33 +13,46 @@ The CsTeamsMessagingPolicy cmdlets enable administrators to control if a user is
1713

1814
## SYNTAX
1915

20-
```
16+
```powershell
2117
New-CsTeamsMessagingPolicy [[-Identity] <XdsIdentity>]
18+
[-AllowChatWithGroup <Boolean>]
19+
[-AllowCommunicationComplianceEndUserReporting <Boolean>]
20+
[-AllowCustomGroupChatAvatars <Boolean>]
2221
[-AllowExtendedWorkInfoInSearch <Boolean>]
22+
[-AllowFluidCollaborate <Boolean>]
23+
[-AllowFullChatPermissionUserToDeleteAnyMessage <Boolean>]
2324
[-AllowGiphy <Boolean>]
25+
[-AllowGiphyDisplay <Boolean>]
26+
[-AllowGroupChatJoinLinks <Boolean>]
2427
[-AllowImmersiveReader <Boolean>]
2528
[-AllowMemes <Boolean>]
2629
[-AllowOwnerDeleteMessage <Boolean>]
30+
[-AllowPasteInternetImage <Boolean>]
2731
[-AllowPriorityMessages <Boolean>]
2832
[-AllowRemoveUser <Boolean>]
33+
[-AllowSecurityEndUserReporting <Boolean>]
2934
[-AllowSmartCompose] <Boolean>]
3035
[-AllowSmartReply <Boolean>]
3136
[-AllowStickers <Boolean>]
3237
[-AllowUrlPreviews <Boolean>]
3338
[-AllowUserChat <Boolean>]
39+
[-AllowUserDeleteChat <Boolean>]
3440
[-AllowUserDeleteMessage <Boolean>]
3541
[-AllowUserEditMessage <Boolean>]
3642
[-AllowUserTranslation <Boolean>]
43+
[-AllowVideoMessages <Boolean>]
3744
[-AudioMessageEnabledType <AudioMessageEnabledTypeEnum>]
3845
[-ChannelsInChatListEnabledType <ChannelsInChatListEnabledTypeEnum>]
3946
[-ChatPermissionRole <String>]
4047
[-Confirm]
4148
[-CreateCustomEmojis <Boolean>]
4249
[-DeleteCustomEmojis <Boolean>]
4350
[-Description <String>]
51+
[-DesignerForBackgroundsAndImages <String>]
4452
[-Force]
4553
[-GiphyRatingType <String>]
4654
[-InMemory]
55+
[-InOrganizationChatControl <String>]
4756
[-ReadReceiptsEnabledType <String>]
4857
[-Tenant <Guid>]
4958
[<CommonParameters>]
@@ -56,8 +65,7 @@ The CsTeamsMessagingPolicy cmdlets enable administrators to control if a user is
5665
## EXAMPLES
5766

5867
### Example 1
59-
```
60-
powershell
68+
```powershell
6169
PS C:\> New-CsTeamsMessagingPolicy -Identity StudentMessagingPolicy -AllowGiphy $false -AllowMemes $false
6270
```
6371

@@ -80,6 +88,53 @@ Default value: None
8088
Accept pipeline input: False
8189
Accept wildcard characters: False
8290
```
91+
### -AllowChatWithGroup
92+
93+
This setting determines if users can chat with groups (Distribution, M365 and Security groups). Possible values: True, False
94+
95+
```yaml
96+
Type: Boolean
97+
Parameter Sets: (All)
98+
Aliases:
99+
100+
Required: False
101+
Position: Named
102+
Default value: None
103+
Accept pipeline input: False
104+
Accept wildcard characters: False
105+
```
106+
107+
### -AllowCommunicationComplianceEndUserReporting
108+
109+
This setting determines if users can report offensive messages to their admin for Communication Compliance. Possible Values: True, False
110+
111+
```yaml
112+
Type: Boolean
113+
Parameter Sets: (All)
114+
Aliases:
115+
116+
Required: False
117+
Position: Named
118+
Default value: None
119+
Accept pipeline input: False
120+
Accept wildcard characters: False
121+
```
122+
123+
### -AllowCustomGroupChatAvatars
124+
125+
These settings enables, disables updating or fetching custom group chat avatars for the users included in the messaging policy. Possible values: True, False
126+
127+
```yaml
128+
Type: Boolean
129+
Parameter Sets: (All)
130+
Aliases:
131+
132+
Required: False
133+
Position: Named
134+
Default value: None
135+
Accept pipeline input: False
136+
Accept wildcard characters: False
137+
```
83138
84139
### -AllowExtendedWorkInfoInSearch
85140
This setting enables/disables showing company name and department name in search results for MTO users.
@@ -96,6 +151,38 @@ Accept pipeline input: False
96151
Accept wildcard characters: False
97152
```
98153
154+
### -AllowFluidCollaborate
155+
156+
This field enables or disables Fluid Collaborate feature for users. Possible values: True, False
157+
158+
```yaml
159+
Type: Boolean
160+
Parameter Sets: (All)
161+
Aliases:
162+
163+
Required: False
164+
Position: Named
165+
Default value: None
166+
Accept pipeline input: False
167+
Accept wildcard characters: False
168+
```
169+
170+
### -AllowFullChatPermissionUserToDeleteAnyMessage
171+
172+
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
173+
174+
```yaml
175+
Type: Boolean
176+
Parameter Sets: (All)
177+
Aliases:
178+
179+
Required: False
180+
Position: Named
181+
Default value: None
182+
Accept pipeline input: False
183+
Accept wildcard characters: False
184+
```
185+
99186
### -AllowGiphy
100187
Determines whether a user is allowed to access and post Giphys. Set this to TRUE to allow. Set this FALSE to prohibit.
101188
@@ -111,6 +198,38 @@ Accept pipeline input: False
111198
Accept wildcard characters: False
112199
```
113200
201+
### -AllowGiphyDisplay
202+
203+
Determines if Giphy images should be displayed that had been already sent or received in chat. Possible values: True, False
204+
205+
```yaml
206+
Type: Boolean
207+
Parameter Sets: (All)
208+
Aliases:
209+
210+
Required: False
211+
Position: Named
212+
Default value: None
213+
Accept pipeline input: False
214+
Accept wildcard characters: False
215+
```
216+
217+
### -AllowGroupChatJoinLinks
218+
219+
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
220+
221+
```yaml
222+
Type: Boolean
223+
Parameter Sets: (All)
224+
Aliases:
225+
226+
Required: False
227+
Position: Named
228+
Default value: None
229+
Accept pipeline input: False
230+
Accept wildcard characters: False
231+
```
232+
114233
### -AllowImmersiveReader
115234
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.
116235
@@ -158,6 +277,22 @@ Accept pipeline input: False
158277
Accept wildcard characters: False
159278
```
160279

280+
### -AllowPasteInternetImage
281+
282+
Determines if a user is allowed to paste internet-based images in compose. Possible values: True, False
283+
284+
```yaml
285+
Type: Boolean
286+
Parameter Sets: (All)
287+
Aliases:
288+
289+
Required: False
290+
Position: Named
291+
Default value: None
292+
Accept pipeline input: False
293+
Accept wildcard characters: False
294+
```
295+
161296
### -AllowPriorityMessages
162297
Determines whether a user is allowed to send priorities messages. Set this to TRUE to allow. Set this FALSE to prohibit.
163298

@@ -188,6 +323,22 @@ Accept pipeline input: False
188323
Accept wildcard characters: False
189324
```
190325

326+
### -AllowSecurityEndUserReporting
327+
328+
This setting determines if users can report any security concern posted in messages to their admin. Possible values: True, False
329+
330+
```yaml
331+
Type: Boolean
332+
Parameter Sets: (All)
333+
Aliases:
334+
335+
Required: False
336+
Position: Named
337+
Default value: None
338+
Accept pipeline input: False
339+
Accept wildcard characters: False
340+
```
341+
191342
### -AllowSmartCompose
192343
Turn on this setting to let a user get text predictions for chat messages.
193344

@@ -264,6 +415,22 @@ Accept pipeline input: False
264415
Accept wildcard characters: False
265416
```
266417

418+
### -AllowUserDeleteChat
419+
420+
Determines whether a user is allowed to chat. Set this to TRUE to allow a user to chat across private chat, group chat and in meetings. Set this to FALSE to prohibit all chat.
421+
422+
```yaml
423+
Type: Boolean
424+
Parameter Sets: (All)
425+
Aliases:
426+
427+
Required: False
428+
Position: Named
429+
Default value: None
430+
Accept pipeline input: False
431+
Accept wildcard characters: False
432+
```
433+
267434
### -AllowUserDeleteMessage
268435
Determines whether a user is allowed to delete their own messages. Set this to TRUE to allow. Set this to FALSE to prohibit.
269436

@@ -309,6 +476,22 @@ Accept pipeline input: False
309476
Accept wildcard characters: False
310477
```
311478

479+
### -AllowVideoMessages
480+
481+
This setting determines if users can create and send video messages. Possible values: True, False
482+
483+
```yaml
484+
Type: Boolean
485+
Parameter Sets: (All)
486+
Aliases:
487+
488+
Required: False
489+
Position: Named
490+
Default value: None
491+
Accept pipeline input: False
492+
Accept wildcard characters: False
493+
```
494+
312495
### -AudioMessageEnabledType
313496
Determines whether a user is allowed to send audio messages. Possible values are: ChatsAndChannels,ChatsOnly,Disabled.
314497

@@ -402,7 +585,25 @@ Accept wildcard characters: False
402585
```
403586

404587
### -Description
405-
Provide a description of your policy to identify purpose of creating it.
588+
Allows you to provide a description of your policy to note the purpose of creating it.
589+
590+
```yaml
591+
Type: String
592+
Parameter Sets: (All)
593+
Aliases:
594+
595+
Required: False
596+
Position: Named
597+
Default value: None
598+
Accept pipeline input: False
599+
Accept wildcard characters: False
600+
```
601+
602+
### -DesignerForBackgroundsAndImages
603+
604+
This setting determines whether a user is allowed to create custom AI-powered backgrounds and images with MS Designer.
605+
606+
Possible values are: Enabled, Disabled.
406607

407608
```yaml
408609
Type: String
@@ -461,8 +662,25 @@ Accept pipeline input: False
461662
Accept wildcard characters: False
462663
```
463664

665+
### -InOrganizationChatControl
666+
667+
This setting determines if chat regulation for internal communication in the tenant is allowed.
668+
669+
```yaml
670+
Type: String
671+
Parameter Sets: (All)
672+
Aliases:
673+
674+
Required: False
675+
Position: Named
676+
Default value: None
677+
Accept pipeline input: False
678+
Accept wildcard characters: False
679+
```
680+
464681
### -ReadReceiptsEnabledType
465-
{{ Fill ReadReceiptsEnabledType Description }}
682+
683+
Use this setting to specify whether read receipts are user controlled, enabled for everyone, or disabled. Set this to UserPreference, Everyone or None.
466684

467685
```yaml
468686
Type: String
@@ -527,3 +745,10 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
527745
## NOTES
528746

529747
## RELATED LINKS
748+
[Set-CsTeamsMessagingPolicy](https://learn.microsoft.com/powershell/module/teams/set-csteamsmessagingpolicy)
749+
750+
[Get-CsTeamsMessagingPolicy](https://learn.microsoft.com/powershell/module/teams/get-csteamsmessagingpolicy)
751+
752+
[Grant-CsTeamsMessagingPolicy](https://learn.microsoft.com/powershell/module/teams/grant-csteamsmessagingpolicy)
753+
754+
[Remove-CsTeamsMessagingPolicy](https://learn.microsoft.com/powershell/module/teams/remove-csteamsmessagingpolicy)

0 commit comments

Comments
 (0)