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
This example updates the name of the specified policy, makes it so the policy enables the feature, and updates who the policy applies to. The policy now applies **only** to the specified users and groups, overwriting the users and groups the policy used to apply to.
This example updates a policy for the ShowAISkills feature in Viva Skills. The policy enables the feature for the the users previously added to the policy, allows user controls, and opted out users by default (Soft Disable policy).
109
+
102
110
## PARAMETERS
103
111
104
112
### -FeatureId
@@ -266,6 +274,29 @@ Accept pipeline input: False
266
274
Accept wildcard characters: False
267
275
```
268
276
277
+
### -IsUserOptedInByDefault
278
+
This parameter is available in version 3.8.0-Preview2 or later of the module.
279
+
280
+
The IsUserOptedInByDefault parameter specifies whether user opted in by default by the policy. Valid values are:
281
+
282
+
- $true: User opted in by the policy.
283
+
- $false: User opted out by the policy.
284
+
285
+
Only features that allow admins to enable and disable user controls by policy can use this parameter. If the feature doesn't support admins toggling user controls, the default value applies. See the feature documentation for more information.
286
+
287
+
```yaml
288
+
Type: Boolean
289
+
Parameter Sets: (All)
290
+
Aliases:
291
+
Applicable: Exchange Online
292
+
293
+
Required: False
294
+
Position: Named
295
+
Default value: None
296
+
Accept pipeline input: False
297
+
Accept wildcard characters: False
298
+
```
299
+
269
300
### -Name
270
301
The Name parameter specifies the updated name for the policy. The maximum length is 256 characters. If the value contains spaces, enclose the value in quotation marks (").
0 commit comments