Skip to content

Commit 828be3f

Browse files
authored
Merge pull request #12651 from knovichenko/patch-3
Update Get-VivaModuleFeaturePolicy.md
2 parents a4d57b1 + cfc54ee commit 828be3f

File tree

1 file changed

+5
-53
lines changed

1 file changed

+5
-53
lines changed

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

Lines changed: 5 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@ 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-
**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.
2119

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

@@ -31,20 +29,10 @@ Get-VivaModuleFeaturePolicy -FeatureId <String> -ModuleId <String>
3129
[<CommonParameters>]
3230
```
3331

34-
### CategoryPolicy
35-
```
36-
Get-VivaModuleFeaturePolicy -CategoryId <String>
37-
[[-PolicyId] <String>]
38-
[-ResultSize <Unlimited>]
39-
[<CommonParameters>]
40-
```
41-
4232
## DESCRIPTION
43-
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.
4634

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.
4836

4937
You need to use the Connect-ExchangeOnline cmdlet to authenticate.
5038

@@ -75,44 +63,8 @@ Get-VivaModuleFeaturePolicy -ModuleId VivaInsights -FeatureId Reflection -Policy
7563

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

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

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-
11668
### -FeatureId
11769
The FeatureId parameter specifies the feature in the Viva module that you want to view the policies for.
11870

@@ -148,9 +100,9 @@ Accept wildcard characters: False
148100
```
149101
150102
### -PolicyId
151-
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.
152104
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.
154106
155107
```yaml
156108
Type: String

0 commit comments

Comments
 (0)