Skip to content

Commit 4f6b3c8

Browse files
committed
Merge branch 'Viva-chrisda' of https://github.com/MicrosoftDocs/office-docs-powershell into Viva-chrisda
2 parents aca3ca7 + 0cd5a2d commit 4f6b3c8

File tree

2 files changed

+32
-1
lines changed

2 files changed

+32
-1
lines changed

exchange/exchange-ps/exchange/Add-VivaModuleFeaturePolicy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ Accept wildcard characters: False
249249
```
250250

251251
### -IsUserOptedInByDefault
252-
This parameter is available in version 3.8.0 or later of the module.
252+
This parameter is available in version 3.8.0-Preview2 or later of the module.
253253

254254
The IsUserOptedInByDefault parameter specifies whether user opted in by default by the policy. Valid values are:
255255

exchange/exchange-ps/exchange/Update-VivaModuleFeaturePolicy.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ Update-VivaModuleFeaturePolicy -FeatureId <String> -ModuleId <String> -PolicyId
3434
[-Everyone <Boolean>]
3535
[-IsFeatureEnabled <Boolean>]
3636
[-IsUserControlEnabled <Boolean>]
37+
[-IsUserOptedInByDefault <Boolean>]
3738
[-GroupIds <String[]>]
3839
[-Name <String>]
3940
[-ResultSize <Unlimited>]
@@ -99,6 +100,13 @@ Update-VivaModuleFeaturePolicy -ModuleId VivaInsights -FeatureId Reflection -Pol
99100

100101
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.
101102

103+
### Example 5
104+
```powershell
105+
Update-VivaModuleFeaturePolicy -ModuleId PeopleSkills -FeatureId ShowAISkills -PolicyId 3db38dfa-02a3-4039-b33a-42b0b3da029b -IsFeatureEnabled $true -IsUserControlEnabled $true -IsUserOptedInByDefault $false
106+
```
107+
108+
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+
102110
## PARAMETERS
103111

104112
### -FeatureId
@@ -266,6 +274,29 @@ Accept pipeline input: False
266274
Accept wildcard characters: False
267275
```
268276

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+
269300
### -Name
270301
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 (").
271302

0 commit comments

Comments
 (0)