You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The CsTeamsMessagingPolicy cmdlets enable administrators to control if a user is enabled to exchange messages. These also help determine the type of messages users can create and modify. This cmdlet updates a Teams messaging policy. Custom policies can then be assigned to users using the Grant-CsTeamsMessagingPolicy cmdlet.
88
+
The CsTeamsMessagingPolicy cmdlets enable administrators to control if a user is enabled to exchange messages. These also help determine the type of messages users can create and modify. This cmdlet updates a Teams messaging policy. Custom policies can then be assigned to users using the Grant-CsTeamsMessagingPolicy cmdlet.
In this example two different property values are configured for all teams messaging policies in the organization: AllowGiphy is set to false and AllowMemes is set to False.
63
108
All other policy properties will be left as previously assigned.
64
109
65
-
66
110
## PARAMETERS
67
111
68
-
### -CreateCustomEmojis
69
-
This setting enables the creation of custom emojis and reactions within an organization for the specified policy users.
112
+
### -Identity
113
+
Identity for the teams messaging policy you're modifying. To modify the global policy, use this syntax: -Identity global. To modify a per-user policy, use syntax similar to this: `-Identity TeamsMessagingPolicy`.
114
+
115
+
If you do not specify an Identity the Set-CsTeamsMessagingPolicy cmdlet will automatically modify the global policy.
70
116
71
117
```yaml
72
-
Type: Boolean
118
+
Type: Object
73
119
Parameter Sets: (All)
74
120
Aliases:
75
121
76
122
Required: False
77
-
Position: Named
123
+
Position: 1
78
124
Default value: None
79
125
Accept pipeline input: False
80
126
Accept wildcard characters: False
81
127
```
82
128
83
-
### -DeleteCustomEmojis
84
-
These settings enable and disable the editing and deletion of custom emojis and reactions for the users included in the messaging policy.
129
+
### -AllowGiphy
130
+
Determines whether a user is allowed to access and post Giphys. Set this to TRUE to allow. Set this FALSE to prohibit.
131
+
132
+
**Note**: [Optional Connected Experiences](https://learn.microsoft.com/deployoffice/privacy/manage-privacy-controls#policy-setting-for-optional-connected-experiences) must be also enabled for Giphys to be allowed.
85
133
86
134
```yaml
87
135
Type: Boolean
@@ -95,9 +143,8 @@ Accept pipeline input: False
95
143
Accept wildcard characters: False
96
144
```
97
145
98
-
### -AllowGiphy
99
-
Determines whether a user is allowed to access and post Giphys. Set this to TRUE to allow. Set this FALSE to prohibit.
100
-
Note: [Optional Connected Experiences](https://learn.microsoft.com/deployoffice/privacy/manage-privacy-controls#policy-setting-for-optional-connected-experiences) must be also enabled for Giphys to be allowed.
146
+
### -AllowImmersiveReader
147
+
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.
101
148
102
149
```yaml
103
150
Type: Boolean
@@ -111,8 +158,8 @@ Accept pipeline input: False
111
158
Accept wildcard characters: False
112
159
```
113
160
114
-
### -AllowImmersiveReader
115
-
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.
161
+
### -AllowMemes
162
+
Determines whether a user is allowed to access and post memes. Set this to TRUE to allow. Set this FALSE to prohibit.
116
163
117
164
```yaml
118
165
Type: Boolean
@@ -126,8 +173,8 @@ Accept pipeline input: False
126
173
Accept wildcard characters: False
127
174
```
128
175
129
-
### -AllowMemes
130
-
Determines whether a user is allowed to access and post memes. Set this to TRUE to allow. Set this FALSE to prohibit.
176
+
### -AllowOwnerDeleteMessage
177
+
Determines whether owners are allowed to delete all the messages in their team. Set this to TRUE to allow. Set this to FALSE to prohibit.
131
178
132
179
```yaml
133
180
Type: Boolean
@@ -141,8 +188,8 @@ Accept pipeline input: False
141
188
Accept wildcard characters: False
142
189
```
143
190
144
-
### -AllowOwnerDeleteMessage
145
-
Determines whether owners are allowed to delete all the messages in their team. Set this to TRUE to allow. Set this to FALSE to prohibit.
191
+
### -AllowPriorityMessages
192
+
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 priorities messages. Set this to TRUE to allow. Set this FALSE to prohibit.
206
+
### -AllowSmartCompose
207
+
Turn on this setting to let a user get text predictions for chat messages.
161
208
162
209
```yaml
163
210
Type: Boolean
164
211
Parameter Sets: (All)
165
212
Aliases:
166
213
167
214
Required: False
168
-
Position: Named
215
+
Position: Con nombre
169
216
Default value: None
170
217
Accept pipeline input: False
171
218
Accept wildcard characters: False
@@ -340,6 +387,17 @@ Accept pipeline input: False
340
387
Accept wildcard characters: False
341
388
```
342
389
390
+
### -ChatPermissionRole
391
+
Determines the Supervised Chat role of the user. Set this to Full to allow the user to supervise chats. Supervisors have the ability to initiate chats with and invite any user within the environment. Set this to Limited to allow the user to initiate conversations with Full and Limited permissioned users, but not Restricted. Set this to Restricted to block chat creation with anyone other than Full permissioned users.
392
+
393
+
```yaml
394
+
Type: String
395
+
Position: Named
396
+
Default value: Restricted
397
+
Accept pipeline input: False
398
+
Accept wildcard characters: False
399
+
```
400
+
343
401
### -Confirm
344
402
Prompts you for confirmation before running the cmdlet.
The Force switch specifies whether to suppress warning and confirmation messages. It can be useful in scripting to suppress interactive prompts. If the Force switch isn't provided in the command, you're prompted for administrative input if required.
431
+
### -DeleteCustomEmojis
432
+
These settings enable and disable the editing and deletion of custom emojis and reactions for the users included in the messaging policy.
375
433
376
434
```yaml
377
-
Type: SwitchParameter
435
+
Type: Boolean
378
436
Parameter Sets: (All)
379
437
Aliases:
380
438
@@ -385,8 +443,8 @@ Accept pipeline input: False
385
443
Accept wildcard characters: False
386
444
```
387
445
388
-
### -GiphyRatingType
389
-
Determines the Giphy content restrictions applicable to a user. Set this to STRICT, MODERATE or NORESTRICTION.
446
+
### -Description
447
+
Provide a description of your policy to identify purpose of creating it.
Identity for the teams messaging policy you're modifying. To modify the global policy, use this syntax: -Identity global. To modify a per-user policy, use syntax similar to this: -Identity TeamsMessagingPolicy.
461
+
### -DesignerForBackgroundsAndImages
462
+
This setting determines whether a user is allowed to create custom AI-powered backgrounds and images with MS Designer.
405
463
406
-
If you do not specify an Identity the Set-CsTeamsMessagingPolicy cmdlet will automatically modify the global policy.
464
+
Possible values are: Enabled, Disabled.
407
465
408
466
```yaml
409
-
Type: Object
467
+
Type: DesignerForBackgroundsAndImagesTypeEnum
410
468
Parameter Sets: (All)
411
469
Aliases:
412
470
413
471
Required: False
414
-
Position: 1
472
+
Position: Named
473
+
Default value: Enabled
474
+
Accept pipeline input: False
475
+
Accept wildcard characters: False
476
+
```
477
+
478
+
### -Force
479
+
The Force switch specifies whether to suppress warning and confirmation messages. It can be useful in scripting to suppress interactive prompts. If the Force switch isn't provided in the command, you're prompted for administrative input if required.
480
+
481
+
```yaml
482
+
Type: SwitchParameter
483
+
Parameter Sets: (All)
484
+
Aliases:
485
+
486
+
Required: False
487
+
Position: Named
488
+
Default value: None
489
+
Accept pipeline input: False
490
+
Accept wildcard characters: False
491
+
```
492
+
493
+
### -GiphyRatingType
494
+
Determines the Giphy content restrictions applicable to a user. Set this to STRICT, MODERATE or NORESTRICTION.
If you are using a remote session of Windows PowerShell and are connected only to Skype for Business Online you do not have to include the Tenant parameter. Instead, the tenant ID will automatically be filled in for you based on your connection information. The Tenant parameter is primarily for use in a hybrid deployment.
Determines the Supervised Chat role of the user. Set this to Full to allow the user to supervise chats. Supervisors have the ability to initiate chats with and invite any user within the environment. Set this to Limited to allow the user to initiate conversations with Full and Limited permissioned users, but not Restricted. Set this to Restricted to block chat creation with anyone other than Full permissioned users.
491
-
492
-
```yaml
493
-
Type: String
494
-
Position: Named
495
-
Default value: Restricted
496
-
Accept pipeline input: False
497
-
Accept wildcard characters: False
498
-
```
499
-
500
-
### -AllowSmartCompose
501
-
Turn on this setting to let a user get text predictions for chat messages.
0 commit comments