Skip to content

Commit 8a5eae8

Browse files
Merge pull request #786 from pvrk/pvrk-sharepointps-oct
Documentation for the new private preview feature
2 parents 810f07f + c49f4ce commit 8a5eae8

File tree

2 files changed

+38
-9
lines changed

2 files changed

+38
-9
lines changed

sharepoint/sharepoint-ps/sharepoint-online/Get-SPODataAccessGovernanceInsight.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Specifies the entity that could cause oversharing and hence tracked by these rep
5353
Type: ReportEntityEnum
5454
Parameter Sets: GetAllReportsParameterSet
5555
Aliases:
56-
Accepted values: SharingLinks_Anyone, SharingLinks_PeopleInYourOrg, SharingLinks_Guests, SensitivityLabelForFiles, EveryoneExceptExternalUsersAtSite, EveryoneExceptExternalUsersForItems, PermissionedUsers
56+
Accepted values: SharingLinks_Anyone, SharingLinks_PeopleInYourOrg, SharingLinks_Guests, SensitivityLabelForFiles, EveryoneExceptExternalUsersAtSite, EveryoneExceptExternalUsersForItems, PermissionedUsers, PermissionsReport
5757

5858
Required: True
5959
Position: Named

sharepoint/sharepoint-ps/sharepoint-online/Start-SPODataAccessGovernanceInsight.md

Lines changed: 37 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ This cmdlet generates Data Access Governance (DAG) reports meant to provide insi
2121

2222
### EEEUParameterSet
2323

24-
```
24+
```powershell
2525
Start-SPODataAccessGovernanceInsight
2626
-ReportEntity <ReportEntityEnum>
2727
-Workload <WorkloadEnum>
@@ -35,7 +35,7 @@ Start-SPODataAccessGovernanceInsight
3535

3636
### SharingLinkParameterSet
3737

38-
```
38+
```powershell
3939
Start-SPODataAccessGovernanceInsight
4040
-ReportEntity <ReportEntityEnum>
4141
-Workload <WorkloadEnum>
@@ -44,7 +44,7 @@ Start-SPODataAccessGovernanceInsight
4444

4545
### LabelParameterSet
4646

47-
```
47+
```powershell
4848
Start-SPODataAccessGovernanceInsight
4949
-ReportEntity <ReportEntityEnum>
5050
-Workload <WorkloadEnum>
@@ -56,7 +56,7 @@ Start-SPODataAccessGovernanceInsight
5656

5757
### SitePermissionsParameterSet
5858

59-
```
59+
```powershell
6060
Start-SPODataAccessGovernanceInsight
6161
-ReportEntity <ReportEntityEnum>
6262
-Workload <WorkloadEnum>
@@ -69,6 +69,18 @@ Start-SPODataAccessGovernanceInsight
6969
[<CommonParameters>]
7070
```
7171

72+
### UserPermissionsParameterSet
73+
74+
```powershell
75+
Start-SPODataAccessGovernanceInsight
76+
-ReportEntity <ReportEntityEnum>
77+
-Workload <WorkloadEnum>
78+
-ReportType <ReportTypeEnum>
79+
-Name <String>
80+
-UserIDList <System.Collections.Generic.List`1[System.Guid]>
81+
[<CommonParameters>]
82+
```
83+
7284
## DESCRIPTION
7385

7486
This cmdlet is used to generate DAG reports which deal with potential oversharing of sensitive data. These reports are present in Sharepoint admin center. Reports are currently available for the following scenarios:
@@ -77,13 +89,14 @@ This cmdlet is used to generate DAG reports which deal with potential oversharin
7789
- Content shared with Everyone except external users (EEEU) in last 28 days.
7890
- List of sites having labelled files, as of report generation time.
7991
- List of sites having 'too-many-users', as of report generation time, to setup an oversharing baseline.
92+
- List of sites with direct or indirect permissions to given users. *(Private Preview)*
8093

8194
## EXAMPLES
8295

8396
### Example 1
8497

8598
```powershell
86-
Start-SPODataAccessGovernanceInsight -ReportEntity PermissionedUsers -Workload SharePoint -ReportType Snapshot -Name "OversharingBaselineReport" -CountOfUsersMoreThan 1000
99+
Start-SPODataAccessGovernanceInsight -ReportEntity PermissionedUsers -Workload SharePoint -ReportType Snapshot -Name "OversharingBaselineReport" -CountOfUsersMoreThan 0
87100
```
88101

89102
The above cmdlet generates a list of SharePoint sites which can be accessed by more than 1000 users, as of report generation day.
@@ -92,7 +105,7 @@ The above cmdlet generates a list of SharePoint sites which can be accessed by m
92105

93106
### -CountOfUsersMoreThan
94107

95-
Specifies the threshold of oversharing as defined by the number of users that can access the site. The number of users that can access the site are determined by expanding all users, groups across all permissions (at site level and at the level of any item with unqiue permissions), deduplicate and arrive at a unique number. Minimum value is 100.
108+
Specifies the threshold of oversharing as defined by the number of users that can access the site. The number of users that can access the site are determined by expanding all users, groups across all permissions (at site level and at the level of any item with unqiue permissions), deduplicate and arrive at a unique number. Minimum value is 0.
96109

97110
```yaml
98111
Type: Int32
@@ -179,7 +192,7 @@ Specifies the entity that could cause oversharing and hence tracked by these rep
179192
Type: ReportEntityEnum
180193
Parameter Sets: (All)
181194
Aliases:
182-
Accepted values: SharingLinks_Anyone, SharingLinks_PeopleInYourOrg, SharingLinks_Guests, SensitivityLabelForFiles, EveryoneExceptExternalUsersAtSite, EveryoneExceptExternalUsersForItems, PermissionedUsers
195+
Accepted values: SharingLinks_Anyone, SharingLinks_PeopleInYourOrg, SharingLinks_Guests, SensitivityLabelForFiles, EveryoneExceptExternalUsersAtSite, EveryoneExceptExternalUsersForItems, PermissionedUsers, PermissionsReport
183196

184197
Required: True
185198
Position: Named
@@ -227,7 +240,7 @@ Specifies the template of the site. Relevant in case a report should be generate
227240
228241
```yaml
229242
Type: System.Collections.Generic.List`1[Microsoft.Online.SharePoint.TenantAdministration.TemplateEnum]
230-
Parameter Sets: EEEUParameterSet, SitePermissionsParameterSet
243+
Parameter Sets: EEEUParameterSet, SitePermissionsParameterSet, UserPermissionsParameterSet
231244
Aliases:
232245
Accepted values: AllSites, ClassicSites, CommunicationSites, TeamSites, OtherSites
233246

@@ -255,6 +268,22 @@ Accept pipeline input: False
255268
Accept wildcard characters: False
256269
```
257270
271+
### -UserIDList
272+
273+
Specifies the Entra object IDs of the users for whom permissions report should be generated. Can be fetched using the `Get-MgUser` command from [Microsoft Graph PowerShell](/powershell/module/microsoft.graph.users/get-mguser).
274+
275+
```yaml
276+
Type: System.Collections.Generic.List`1[System.Guid]
277+
Parameter Sets: UserPermissionsParameterSet
278+
Aliases:
279+
280+
Required: True
281+
Position: Named
282+
Default value: None
283+
Accept pipeline input: False
284+
Accept wildcard characters: False
285+
```
286+
258287
### CommonParameters
259288
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
260289

0 commit comments

Comments
 (0)