Skip to content

Commit d34a72b

Browse files
Update Get-VivaModuleFeaturePolicy.md
1 parent 0b55ee9 commit d34a72b

File tree

1 file changed

+33
-29
lines changed

1 file changed

+33
-29
lines changed

exchange/exchange-ps/exchange/Get-VivaModuleFeaturePolicy.md

Lines changed: 33 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -15,40 +15,46 @@ ms.reviewer:
1515
## SYNOPSIS
1616
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).
1717

18-
Use the Get-VivaModuleFeaturePolicy cmdlet to view the access policies for a specified feature in a Viva module. 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.
18+
**Note**: While we are adding support for category policies in the Exchange Online PowerShell module v3.5.0-Preview1 or later, we have not yet released any categories in Viva. We will update when there are categories 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.
1921

2022
For information about the parameter sets in the Syntax section below, see [Exchange cmdlet syntax](https://learn.microsoft.com/powershell/exchange/exchange-cmdlet-syntax).
2123

2224
## SYNTAX
2325

2426
### FeaturePolicy
2527
```
26-
Get-VivaModuleFeaturePolicy -ModuleId <String> -FeatureId <String>
28+
Get-VivaModuleFeaturePolicy -FeatureId <String> -ModuleId <String>
2729
[[-PolicyId] <String>]
28-
[-ProgressAction <ActionPreference>]
2930
[-ResultSize <Unlimited>]
3031
[<CommonParameters>]
3132
```
3233

3334
### CategoryPolicy
35+
**Note**: While we are adding support for category policies in the Exchange Online PowerShell module v3.5.0-Preview1 or later, we have not yet released any categories in Viva. We will update when there are categories available.
36+
3437
```
3538
Get-VivaModuleFeaturePolicy -CategoryId <String>
3639
[[-PolicyId] <String>]
37-
[-ProgressAction <ActionPreference>]
3840
[-ResultSize <Unlimited>]
3941
[<CommonParameters>]
4042
```
4143

4244
## DESCRIPTION
43-
Use the Get-VivaModuleFeaturePolicy cmdlet to view the access policies for a specified feature in a Viva module.
45+
Use the Get-VivaModuleFeaturePolicy cmdlet to view the access policies for a specified feature in a Viva module or a category in Viva.
4446

45-
You can view all policies for a specified feature in a Viva module. To view a specific policy, you can include the PolicyId parameter.
47+
**Note**: While we are adding support for category policies in the Exchange Online PowerShell module v3.5.0-Preview1 or later, we have not yet released any categories in Viva. We will update when there are categories available.
48+
49+
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.
4650

4751
You need to use the Connect-ExchangeOnline cmdlet to authenticate.
4852

4953
This cmdlet requires the .NET Framework 4.7.2 or later.
5054

51-
Currently, you need to be a member of the Global administrators role to run this cmdlet.
55+
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.
56+
57+
To learn more about permissioned roles at the feature level, see [Features Available for Feature Access Management](https://learn.microsoft.com/en-us/viva/feature-access-management#features-available-for-feature-access-management).
5258

5359
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).
5460

@@ -68,12 +74,28 @@ Get-VivaModuleFeaturePolicy -ModuleId VivaInsights -FeatureId Reflection -Policy
6874

6975
This example returns details about a specific policy added for the Reflection feature in Viva Insights.
7076

77+
### Example 3
78+
```powershell
79+
Get-VivaModuleFeaturePolicy -CategoryId <category_id>
80+
```
81+
82+
This example returns details about all the policies added for the <category_id> category in Viva.
83+
84+
### Example 4
85+
```powershell
86+
Get-VivaModuleFeaturePolicy -CategoryId <category_id> -PolicyId 3db38dfa-02a3-4039-b33a-42b0b3da029b
87+
```
88+
89+
This example returns details about a specific policy added for the <category_id> category in Viva.
90+
7191
## PARAMETERS
7292

7393
### -CategoryId
74-
**Note**: This parameter is available only in the Exchange Online PowerShell module v3.5.0-Preview??? or later.
94+
**Note**: While we are adding support for category policies in the Exchange Online PowerShell module v3.5.0-Preview1 or later, we have not yet released any categories in Viva. We will update when there are categories available.
95+
96+
The CategoryId parameter specifies the category that you want to view the policies for.
7597

76-
{{ Fill CategoryId Description }}
98+
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.
7799

78100
```yaml
79101
Type: String
@@ -123,9 +145,9 @@ Accept wildcard characters: False
123145
```
124146
125147
### -PolicyId
126-
The PolicyId parameter specifies the specific policy for the feature in the Viva module that you want to view.
148+
The PolicyId parameter specifies the specific policy for the feature in the Viva module or the category that you want to view.
127149
128-
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.
150+
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.
129151
130152
```yaml
131153
Type: String
@@ -140,24 +162,6 @@ Accept pipeline input: False
140162
Accept wildcard characters: False
141163
```
142164
143-
### -ProgressAction
144-
**Note**: This parameter is available only in the Exchange Online PowerShell module v3.5.0-Preview??? or later.
145-
146-
{{ Fill ProgressAction Description }}
147-
148-
```yaml
149-
Type: ActionPreference
150-
Parameter Sets: (All)
151-
Aliases: proga
152-
Applicable: Exchange Online
153-
154-
Required: False
155-
Position: Named
156-
Default value: None
157-
Accept pipeline input: False
158-
Accept wildcard characters: False
159-
```
160-
161165
### -ResultSize
162166
This parameter is reserved for internal Microsoft use.
163167

0 commit comments

Comments
 (0)