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
+74-4Lines changed: 74 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -15,23 +15,36 @@ 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 administrators 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.
90
+
64
91
## PARAMETERS
65
92
66
93
### -FeatureId
@@ -70,7 +97,7 @@ To view details about the features in a Viva module that support feature access
70
97
71
98
```yaml
72
99
Type: String
73
-
Parameter Sets: (All)
100
+
Parameter Sets: FeaturePolicy
74
101
Aliases:
75
102
Applicable: Exchange Online
76
103
@@ -80,13 +107,25 @@ Default value: None
80
107
Accept pipeline input: False
81
108
Accept wildcard characters: False
82
109
```
110
+
```yaml
111
+
Type: String
112
+
Parameter Sets: FeaturePolicyWithMembers
113
+
Aliases:
114
+
Applicable: Exchange Online
115
+
116
+
Required: False
117
+
Position: Named
118
+
Default value: None
119
+
Accept pipeline input: False
120
+
Accept wildcard characters: True
121
+
```
83
122
84
123
### -ModuleId
85
124
The ModuleId parameter specifies the Viva module of the feature policies that you want to view.
86
125
87
126
```yaml
88
127
Type: String
89
-
Parameter Sets: (All)
128
+
Parameter Sets: FeaturePolicy
90
129
Aliases:
91
130
Applicable: Exchange Online
92
131
@@ -96,6 +135,18 @@ Default value: None
96
135
Accept pipeline input: False
97
136
Accept wildcard characters: False
98
137
```
138
+
```yaml
139
+
Type: String
140
+
Parameter Sets: FeaturePolicyWithMembers
141
+
Aliases:
142
+
Applicable: Exchange Online
143
+
144
+
Required: True
145
+
Position: Named
146
+
Default value: None
147
+
Accept pipeline input: False
148
+
Accept wildcard characters: True
149
+
```
99
150
100
151
### -PolicyId
101
152
The PolicyId parameter specifies the specific policy for the feature in the Viva module that you want to view.
@@ -104,7 +155,7 @@ To view details about all policies for a feature in a Viva module, run this cmdl
104
155
105
156
```yaml
106
157
Type: String
107
-
Parameter Sets: (All)
158
+
Parameter Sets: FeaturePolicy
108
159
Aliases:
109
160
Applicable: Exchange Online
110
161
@@ -115,6 +166,25 @@ Accept pipeline input: False
115
166
Accept wildcard characters: False
116
167
```
117
168
169
+
170
+
### -MemberIds
171
+
The MemberIds parameter specifies the specific users or groups for which you want to view the policies for the feature in the Viva module.
172
+
173
+
You can provide up to 3 member IDs. The * character can be used to specify all modules or features.
174
+
175
+
```yaml
176
+
Type: String[]
177
+
Parameter Sets: FeaturePolicyWithMembers
178
+
Aliases:
179
+
Applicable: Exchange Online
180
+
181
+
Required: False
182
+
Position: Named
183
+
Default value: None
184
+
Accept pipeline input: False
185
+
Accept wildcard characters: False
186
+
```
187
+
118
188
### -ResultSize
119
189
This parameter is reserved for internal Microsoft use.
0 commit comments