Skip to content

Commit e9849d4

Browse files
authored
Update Update-VivaModuleFeaturePolicy.md
Added the new parameter and new example for the parameter.
1 parent 86193ec commit e9849d4

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

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

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,13 @@ Update-VivaModuleFeaturePolicy -ModuleId VivaInsights -FeatureId Reflection -Pol
9999

100100
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.
101101

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

104111
### -FeatureId
@@ -266,6 +273,29 @@ Accept pipeline input: False
266273
Accept wildcard characters: False
267274
```
268275

276+
### -IsUserOptedInByDefault
277+
This parameter is available in version 3.8.0-Preview2 or later of the module.
278+
279+
The IsUserOptedInByDefault parameter specifies whether user opted in by default by the policy. Valid values are:
280+
281+
- $true: User opted in by the policy.
282+
- $false: User opted out by the policy.
283+
284+
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.
285+
286+
```yaml
287+
Type: Boolean
288+
Parameter Sets: FeaturePolicy
289+
Aliases:
290+
Applicable: Exchange Online
291+
292+
Required: False
293+
Position: Named
294+
Default value: None
295+
Accept pipeline input: False
296+
Accept wildcard characters: False
297+
```
298+
269299
### -Name
270300
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 (").
271301

0 commit comments

Comments
 (0)