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
Copy file name to clipboardExpand all lines: exchange/exchange-ps/exchange/Update-VivaModuleFeaturePolicy.md
+5-100Lines changed: 5 additions & 100 deletions
Original file line number
Diff line number
Diff line change
@@ -15,13 +15,10 @@ ms.reviewer:
15
15
## SYNOPSIS
16
16
This cmdlet is available only in the Exchange Online PowerShell module v3.2.0 or later. For more information, see [About the Exchange Online PowerShell module](https://aka.ms/exov3-module).
17
17
18
-
**Note**: Support for categories is available in version 3.5.0-Preview2 or later of the module, but no categories are currently available in Viva. We'll update the documentation when categories are available.
19
-
20
-
Use the Update-VivaModuleFeaturePolicy cmdlet to update an access policy for a feature in a Viva module or a category in Viva.
18
+
Use the Update-VivaModuleFeaturePolicy cmdlet to update an access policy for a feature in a Viva module in Viva.
21
19
22
20
- You can't update a policy for a particular user or group to include the entire tenant if a policy for the entire tenant already exists for the feature. Only one tenant-wide policy is supported.
23
-
- Policies assigned to a specific user or group take priority over the policy assigned to the entire tenant when determining whether a feature/category is enabled. If a user has multiple policies assigned for a feature/category (directly as a user or member of a group), the most restrictive policy applies.
24
-
- You can only update user controls at the feature policy level, not the category policy level.
21
+
- Policies assigned to a specific user or group take priority over the policy assigned to the entire tenant when determining whether a feature is enabled. If a user has multiple policies assigned for a feature (directly as a user or member of a group), the most restrictive policy applies.
25
22
- Some features only support policies that apply to the entire tenant, not specific users or groups. You can refer to supported policy scopes for a feature using the [Get-VivaModuleFeature](https://learn.microsoft.com/powershell/module/exchange/get-vivamodulefeature) cmdlet.
26
23
27
24
Some features include the option for user controls (user opt out). Refer to the feature documentation to see if user controls are available for the feature that you intend to set a policy for.
Use the Update-VivaModuleFeaturePolicy cmdlet to update an access policy for a feature in a Viva module or a category in Viva.
64
-
65
-
Support for categories is available in version 3.5.0-Preview2 or later of the module.
46
+
Use the Update-VivaModuleFeaturePolicy cmdlet to update an access policy for a feature in a Viva module in Viva.
66
47
67
48
This cmdlet updates the attributes of the policy that you specify. These attributes include:
68
49
69
50
- The policy name (Name parameter).
70
-
- Whether or not the policy enables the feature (IsFeatureEnabled parameter) or the category (IsCategoryEnabled parameter).
51
+
- Whether or not the policy enables the feature (IsFeatureEnabled parameter).
71
52
- Whether or not the policy enables user controls (IsUserControlEnabled parameter, only applicable to a feature policy).
72
53
- Who the policy applies to (the UserIds and GroupIds parameters or the Everyone parameter).
73
54
74
-
You can update these attributes independently of each other. For example, if you specify the Name parameter but not the IsFeatureEnabled/IsCategoryEnabled parameter, the name of the policy is updated but whether or not the policy enables the feature/category remains unchanged.
55
+
You can update these attributes independently of each other. For example, if you specify the Name parameter but not the IsFeatureEnabled parameter, the name of the policy is updated but whether or not the policy enables the feature remains unchanged.
75
56
76
57
**Important**: Values that you specify for the UserIds and/or GroupIds parameters or the Everyone parameter **overwrite** any existing users or groups. To preserve the existing users and groups, you need to specify those existing users or groups **and** any additional users or groups that you want to add. Not including existing users or groups in the command effectively removes those specific users or groups from the policy. For more information, see the examples.
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 the name of the specified policy and makes it so the policy does not enable the category (effectively all features under the category).
This example updates who the specified policy applies to. The policy now applies **only** to the specified groups, overwriting the users and groups the policy used to apply to.
This example updates who the specified policy applies to. The policy now applies **only** to the specified users, overwriting the users and groups the policy used to apply to.
This example updates the name of the specified policy, makes it so the policy enables the category (effectively all features under the category), 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.
148
-
149
102
## PARAMETERS
150
103
151
-
### -CategoryId
152
-
This parameter is available in version 3.5.0-Preview2 or later of the module.
153
-
154
-
**Note**: Currently, no categories are available in Viva. We'll update the documentation when categories are available.
155
-
156
-
The CategoryId parameter specifies the category of the policy that you want to update.
157
-
158
-
To view details about the categories that support feature access controls, use the Get-FeatureCategory cmdlet. The CategoryId value is returned in the output of the cmdlet.
159
-
160
-
```yaml
161
-
Type: String
162
-
Parameter Sets: CategoryPolicy
163
-
Aliases:
164
-
Applicable: Exchange Online
165
-
166
-
Required: True
167
-
Position: Named
168
-
Default value: None
169
-
Accept pipeline input: False
170
-
Accept wildcard characters: False
171
-
```
172
-
173
104
### -FeatureId
174
105
The FeatureId parameter specifies the feature in the Viva module of the policy that you want to update.
175
106
@@ -289,32 +220,6 @@ Default value: None
289
220
Accept pipeline input: False
290
221
Accept wildcard characters: False
291
222
```
292
-
293
-
### -IsCategoryEnabled
294
-
This parameter is available in version 3.5.0-Preview2 or later of the module.
295
-
296
-
**Note**: Currently, no categories are available in Viva. We'll update the documentation when categories are available.
297
-
298
-
The IsCategoryEnabled parameter specifies whether the category is enabled by the updated policy. Valid values are:
299
-
300
-
- $true: The category (effectively all features under the category) is enabled by the policy.
301
-
- $false: The category (effectively all features under the category) is not enabled by the policy.
302
-
303
-
If you don't want to update whether the category is enabled by the policy, don't use this parameter.
304
-
305
-
```yaml
306
-
Type: Boolean
307
-
Parameter Sets: CategoryPolicy
308
-
Aliases:
309
-
Applicable: Exchange Online
310
-
311
-
Required: False
312
-
Position: Named
313
-
Default value: None
314
-
Accept pipeline input: False
315
-
Accept wildcard characters: False
316
-
```
317
-
318
223
### -IsFeatureEnabled
319
224
The IsFeatureEnabled parameter specifies whether the feature is enabled by the updated policy. Valid values are:
0 commit comments