Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .claude/settings.local.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"permissions": {
"allow": [
"Bash(diff:*)"
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Specifies the entity that could cause oversharing and hence tracked by these rep
Type: Microsoft.Online.SharePoint.TenantAdministration.ReportEntityEnum
Parameter Sets: GetAllReportsParameterSet
Aliases:
Accepted values: SharingLinks_Anyone, SharingLinks_PeopleInYourOrg, SharingLinks_Guests, SensitivityLabelForFiles, EveryoneExceptExternalUsersAtSite, EveryoneExceptExternalUsersForItems, PermissionedUsers, PermissionsReport
Accepted values: SharingLinks_Anyone, SharingLinks_PeopleInYourOrg, SharingLinks_Guests, SensitivityLabelForFiles, EveryoneExceptExternalUsersAtSite, EveryoneExceptExternalUsersForItems, PermissionedUsers, PermissionsReport, EveryoneExceptExternalUsers, Everyone

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd list these values in sorted order, for easy perusal

Required: True
Position: Named
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,12 @@ Start-SPODataAccessGovernanceInsight -ReportEntity <ReportEntityEnum> -Workload
[<CommonParameters>]
```

### DetailedEEEUParameterSet
```
Start-SPODataAccessGovernanceInsight -ReportEntity <ReportEntityEnum> -ReportType <ReportTypeEnum>
[<CommonParameters>]
```

## DESCRIPTION

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:
Expand All @@ -65,7 +71,7 @@ This cmdlet is used to generate DAG reports which deal with potential oversharin
- Content shared with Everyone except external users (EEEU) in last 28 days.
- List of sites having labelled files, as of report generation time.
- List of sites having 'too-many-users', as of report generation time, to setup an oversharing baseline.
- List of sites with direct or indirect permissions to given users. *(Private Preview)*
- List of sites with direct or indirect permissions to given users.

## EXAMPLES

Expand All @@ -77,6 +83,14 @@ Start-SPODataAccessGovernanceInsight -ReportEntity PermissionedUsers -Workload S

The above cmdlet generates a list of SharePoint sites which can be accessed by more than 1000 users, as of report generation day.

### Example 2

```powershell
Start-SPODataAccessGovernanceInsight -ReportEntity EveryoneExceptExternalUsers -ReportType Snapshot
```

The above cmdlet generates a detailed report for all content shared with 'Everyone except external users' (Sites, groups and files) across both SharePoint sites and OneDrive accounts, as of report generation time.

## PARAMETERS

### -CountOfUsersMoreThan
Expand Down Expand Up @@ -168,7 +182,7 @@ Specifies the entity that could cause oversharing and hence tracked by these rep
Type: Microsoft.Online.SharePoint.TenantAdministration.ReportEntityEnum
Parameter Sets: (All)
Aliases:
Accepted values: SharingLinks_Anyone, SharingLinks_PeopleInYourOrg, SharingLinks_Guests, SensitivityLabelForFiles, EveryoneExceptExternalUsersAtSite, EveryoneExceptExternalUsersForItems, PermissionedUsers, PermissionsReport
Accepted values: SharingLinks_Anyone, SharingLinks_PeopleInYourOrg, SharingLinks_Guests, SensitivityLabelForFiles, EveryoneExceptExternalUsersAtSite, EveryoneExceptExternalUsersForItems, PermissionedUsers, PermissionsReport, EveryoneExceptExternalUsers, Everyone

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd list these values in sorted order, for easy perusal

Required: True
Position: Named
Expand Down Expand Up @@ -249,7 +263,7 @@ Specifies whether the report is for SharePoint sites or OneDrive accounts.

```yaml
Type: Microsoft.Online.SharePoint.TenantAdministration.WorkloadEnum
Parameter Sets: (All)
Parameter Sets: EEEUParameterSet, SharingLinkParameterSet, LabelParameterSet, SitePermissionsParameterSet, UserPermissionsParameterSet
Aliases:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd list these values in sorted order, for easy perusal

Accepted values: SharePoint, OneDriveForBusiness

Expand Down