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/Add-VivaModuleFeaturePolicy.md
+64-13Lines changed: 64 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,10 +15,14 @@ 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
-
Use the Add-VivaModuleFeaturePolicy cmdlet to add a new access policy for a specific feature in Viva. The attributes of the policy are defined using the cmdlet parameters. Policies are used to restrict or grant access to the specified feature for specific users, groups, or the entire tenant. Note that:
18
+
**Note**: Support for categories is available in version 3.5.0-Preview1 or later of the module, but no categories are currently available in Viva. We'll update the documentation when categories are available.
19
19
20
-
- You can assign up to 10 policies per feature. An additional one policy per feature can be assigned to the entire tenant.
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.
20
+
Use the Add-VivaModuleFeaturePolicy cmdlet to add a new access policy for a specific feature or a category in Viva. The attributes of the policy are defined using the cmdlet parameters. Policies are used to restrict or grant access to the specified feature or category for specific users, groups, or the entire tenant.
21
+
22
+
- You can assign up to 10 policies per feature/category. An additional one policy per feature/category can be assigned to the entire tenant.
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
+
- If a category is disabled by category policies, all features under the category are disabled regardless of the policies set at the feature level.
25
+
- You can only update user controls at the feature policy level, not the category policy level.
22
26
23
27
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.
24
28
@@ -28,11 +32,11 @@ For information about the parameter sets in the Syntax section below, see [Excha
Use the Add-VivaModuleFeaturePolicy cmdlet to add a new access policy for a specific feature in Viva.
59
+
Use the Add-VivaModuleFeaturePolicy cmdlet to add a new access policy for a specific feature or category in Viva.
60
+
61
+
Support for categories is available in version 3.5.0-Preview1 or later of the module.
57
62
58
63
You need to use the Connect-ExchangeOnline cmdlet to authenticate.
59
64
60
65
This cmdlet requires the .NET Framework 4.7.2 or later.
61
66
62
-
Currently, you need to be a member of the Global administrators role to run this cmdlet.
67
+
Currently, you need to be a member of the Global Administrators role or the roles that have been permissioned at the feature level to run this cmdlet.
68
+
69
+
To learn more about permissioned roles at the feature level, see [Features Available for Feature Access Management](https://learn.microsoft.com/viva/feature-access-management#features-available-for-feature-access-management).
63
70
64
71
To learn more about administrator role permissions in Microsoft Entra ID, see [Role template IDs](https://learn.microsoft.com/entra/identity/role-based-access-control/permissions-reference#role-template-ids).
This example adds a policy for the `<cateogry_id>` category in Viva. The policy disables the category (effectively all features under the category) for all users in the organization.
This example adds a policy for the `<cateogry_id>` category in Viva. The policy disables the category (effectively all features under the category) for all users in the specified groups.
This example adds a policy for the `<cateogry_id>` category in Viva. The policy disables the category (effectively all features under the category) for the specified users.
This example adds a policy for the `<cateogry_id>` category in Viva. The policy disables the category (effectively all features under the category) for the specified users and group members.
This example adds a policy for the `<cateogry_id>` category in Viva where the policy name is with spaces. The policy disables the category (effectively all features under the category) for all users in the organization.
137
+
96
138
## PARAMETERS
97
139
98
140
### -CategoryId
99
-
**Note**: This parameter is available only in the Exchange Online PowerShell module v3.5.0-Preview??? or later.
141
+
This parameter is available in version 3.5.0-Preview1 or later of the module.
142
+
143
+
**Note**: Currently, no categories are available in Viva. We'll update the documentation when categories are available.
100
144
101
-
{{ Fill CategoryId Description }}
145
+
The CategoryId parameter specifies the Viva category that you want to add the policy for.
0 commit comments