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/Get-VivaModuleFeaturePolicy.md
+60-5Lines changed: 60 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -15,14 +15,22 @@ 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 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.
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. The cmdlet can filter policies based on MemberIds, allowing admins to view policies specific to certain users or groups.
19
19
20
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).
This example returns details about the policies for all features across all Viva modules that apply to the user with the email user1@contoso.com and the group with the email group1@contoso.com.
87
+
64
88
## PARAMETERS
65
89
66
90
### -FeatureId
@@ -70,7 +94,7 @@ To view details about the features in a Viva module that support feature access
70
94
71
95
```yaml
72
96
Type: String
73
-
Parameter Sets: (All)
97
+
Parameter Sets: FeaturePolicy
74
98
Aliases:
75
99
Applicable: Exchange Online
76
100
@@ -81,6 +105,19 @@ Accept pipeline input: False
81
105
Accept wildcard characters: False
82
106
```
83
107
108
+
```yaml
109
+
Type: String
110
+
Parameter Sets: FeaturePolicyWithMembers
111
+
Aliases:
112
+
Applicable: Exchange Online
113
+
114
+
Required: False
115
+
Position: Named
116
+
Default value: None
117
+
Accept pipeline input: False
118
+
Accept wildcard characters: True
119
+
```
120
+
84
121
### -ModuleId
85
122
The ModuleId parameter specifies the Viva module of the feature policies that you want to view.
86
123
@@ -104,7 +141,7 @@ To view details about all policies for a feature in a Viva module, run this cmdl
104
141
105
142
```yaml
106
143
Type: String
107
-
Parameter Sets: (All)
144
+
Parameter Sets: FeaturePolicy
108
145
Aliases:
109
146
Applicable: Exchange Online
110
147
@@ -115,6 +152,24 @@ Accept pipeline input: False
115
152
Accept wildcard characters: False
116
153
```
117
154
155
+
### -MemberIds
156
+
The MemberIds parameter specifies the specific users or groups for which you want to view the policies for the feature in the Viva module.
157
+
158
+
You can provide up to three member IDs. Use the \* character to specify all modules or features.
159
+
160
+
```yaml
161
+
Type: String[]
162
+
Parameter Sets: FeaturePolicyWithMembers
163
+
Aliases:
164
+
Applicable: Exchange Online
165
+
166
+
Required: False
167
+
Position: Named
168
+
Default value: None
169
+
Accept pipeline input: False
170
+
Accept wildcard characters: False
171
+
```
172
+
118
173
### -ResultSize
119
174
This parameter is reserved for internal Microsoft use.
0 commit comments