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
+29-95Lines changed: 29 additions & 95 deletions
Original file line number
Diff line number
Diff line change
@@ -15,14 +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.
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.
19
19
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.
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.
26
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.
27
23
28
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.
This example adds a policy for the `<category_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 `<category_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 `<category_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 `<category_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 `<category_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.
94
+
This example adds a policy for the ShowAISkills feature in Viva Skills. The policy enables the feature for the specified users, allows user controls, and opted out users by default (Soft Disable policy).
141
95
142
96
## PARAMETERS
143
97
144
-
### -CategoryId
145
-
This parameter is available in version 3.5.0-Preview2 or later of the module.
146
-
147
-
**Note**: Currently, no categories are available in Viva. We'll update the documentation when categories are available.
148
-
149
-
The CategoryId parameter specifies the Viva category that you want to add the policy for.
150
-
151
-
```yaml
152
-
Type: String
153
-
Parameter Sets: CategoryPolicy
154
-
Aliases:
155
-
Applicable: Exchange Online
156
-
157
-
Required: True
158
-
Position: Named
159
-
Default value: None
160
-
Accept pipeline input: False
161
-
Accept wildcard characters: False
162
-
```
163
-
164
98
### -FeatureId
165
99
The FeatureId parameter specifies the feature in the Viva module that you want to add the policy for.
166
100
@@ -179,29 +113,6 @@ Accept pipeline input: False
179
113
Accept wildcard characters: False
180
114
```
181
115
182
-
### -IsCategoryEnabled
183
-
This parameter is available in version 3.5.0-Preview2 or later of the module.
184
-
185
-
**Note**: Currently, no categories are available in Viva. We'll update the documentation when categories are available.
186
-
187
-
The IsCategoryEnabled parameter specifies whether or not the category is enabled by the policy. Valid values are:
188
-
189
-
- $true: The category is enabled by the policy.
190
-
- $false: The category is not enabled by the policy.
191
-
192
-
```yaml
193
-
Type: Boolean
194
-
Parameter Sets: CategoryPolicy
195
-
Aliases:
196
-
Applicable: Exchange Online
197
-
198
-
Required: True
199
-
Position: Named
200
-
Default value: None
201
-
Accept pipeline input: False
202
-
Accept wildcard characters: False
203
-
```
204
-
205
116
### -IsFeatureEnabled
206
117
The IsFeatureEnabled parameter specifies whether or not the feature is enabled by the policy. Valid values are:
207
118
@@ -339,6 +250,29 @@ Accept pipeline input: False
339
250
Accept wildcard characters: False
340
251
```
341
252
253
+
### -IsUserOptedInByDefault
254
+
This parameter is available in version 3.8.0 or later of the module.
255
+
256
+
The IsUserOptedInByDefault parameter specifies whether user opted in by default by the policy. Valid values are:
257
+
258
+
- $true: User opted in by the policy.
259
+
- $false: User opted out by the policy.
260
+
261
+
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.
262
+
263
+
```yaml
264
+
Type: Boolean
265
+
Parameter Sets: FeaturePolicy
266
+
Aliases:
267
+
Applicable: Exchange Online
268
+
269
+
Required: False
270
+
Position: Named
271
+
Default value: None
272
+
Accept pipeline input: False
273
+
Accept wildcard characters: False
274
+
```
275
+
342
276
### -ResultSize
343
277
This parameter is reserved for internal Microsoft use.
Copy file name to clipboardExpand all lines: exchange/exchange-ps/exchange/Get-VivaModuleFeaturePolicy.md
+5-53Lines changed: 5 additions & 53 deletions
Original file line number
Diff line number
Diff line change
@@ -15,9 +15,7 @@ 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 Get-VivaModuleFeaturePolicy cmdlet to view the access policies for a specified feature in a Viva module or category in Viva. Policies are used to restrict or grant access to the specified feature or category for specific users, groups, or the entire tenant. This cmdlet provides details about the policies, including the policy's identifier, name, and creation date.
18
+
Use the Get-VivaModuleFeaturePolicy cmdlet to view the access policies for a specified feature in a Viva module in Viva. Policies are used to restrict or grant access to the specified feature for specific users, groups, or the entire tenant. This cmdlet provides details about the policies, including the policy's identifier, name, and creation date.
21
19
22
20
For information about the parameter sets in the Syntax section below, see [Exchange cmdlet syntax](https://learn.microsoft.com/powershell/exchange/exchange-cmdlet-syntax).
Use the Get-VivaModuleFeaturePolicy cmdlet to view the access policies for a specified feature in a Viva module or a category in Viva.
44
-
45
-
Support for categories is available in version 3.5.0-Preview2 or later of the module.
33
+
Use the Get-VivaModuleFeaturePolicy cmdlet to view the access policies for a specified feature in a Viva module in Viva.
46
34
47
-
You can view all policies for a specified feature in a Viva module or a category in Viva. To view a specific policy, you can include the PolicyId parameter.
35
+
You can view all policies for a specified feature in a Viva module in Viva. To view a specific policy, you can include the PolicyId parameter.
48
36
49
37
You need to use the Connect-ExchangeOnline cmdlet to authenticate.
This example returns details about a specific policy added for the `<category_id>` category in Viva.
91
-
92
66
## PARAMETERS
93
67
94
-
### -CategoryId
95
-
This parameter is available in version 3.5.0-Preview2 or later of the module.
96
-
97
-
**Note**: Currently, no categories are available in Viva. We'll update the documentation when categories are available.
98
-
99
-
The CategoryId parameter specifies the category that you want to view the policies for.
100
-
101
-
To view details about the categories in Viva that support feature access controls, refer to the Get-VivaFeatureCategory cmdlet. The details provided by the Get-VivaFeatureCategory cmdlet include the category identifier.
102
-
103
-
```yaml
104
-
Type: String
105
-
Parameter Sets: CategoryPolicy
106
-
Aliases:
107
-
Applicable: Exchange Online
108
-
109
-
Required: True
110
-
Position: Named
111
-
Default value: None
112
-
Accept pipeline input: False
113
-
Accept wildcard characters: False
114
-
```
115
-
116
68
### -FeatureId
117
69
The FeatureId parameter specifies the feature in the Viva module that you want to view the policies for.
The PolicyId parameter specifies the specific policy for the feature in the Viva module or the category that you want to view.
103
+
The PolicyId parameter specifies the specific policy for the feature in the Viva module that you want to view.
152
104
153
-
To view details about all policies for a feature in a Viva module or a category, run this cmdlet without the PolicyId parameter. These details include the identifiers of all the policies for a feature in a Viva module or a category.
105
+
To view details about all policies for a feature in a Viva module, run this cmdlet without the PolicyId parameter. These details include the identifiers of all the policies for a feature in a Viva module.
This parameter is available only in the cloud-based service.
863
863
864
-
This parameter is reserved for internal Microsoft use.
864
+
The AutoEnableArchiveMailbox specifies whether an archive mailbox is automatically provisioned when the primary mailbox reaches 90% of the size quota (if licenses include archiving). Valid values are:
865
+
866
+
- $true: An archive mailbox is automatically provisioned.
867
+
- $false: An archive mailbox isn't automatically provisioned.
0 commit comments