Get-SPODataAccessGovernanceInsight
Lists various 'Data Access Governance' (DAG) reports in SharePoint admin center.
Get-SPODataAccessGovernanceInsight
-ReportEntity <ReportEntityEnum>
[-WorkLoad <WorkloadEnum>]
[-ReportType <ReportTypeEnum>]
[<CommonParameters>]
Get-SPODataAccessGovernanceInsight
-ReportID <Guid>
[<CommonParameters>]
This cmdlet fetches details of various DAG reports available in SharePoint admin center.
Get-SPODataAccessGovernanceInsight -ReportEntity EveryoneExceptExternalUsersForItems
The above cmdlet fetches all DAG reports about 'Everyone except external users' attached to an item i.e., to a file, folder, or list in the last 28 days. The output consists of important parameters such as Status, ReportID, number of sites in the report and other user provided values during report generation.
Specifies the entity that could cause oversharing and hence tracked by these reports.
Type: | ReportEntityEnum |
Accepted values: | SharingLinks_Anyone, SharingLinks_PeopleInYourOrg, SharingLinks_Guests, SensitivityLabelForFiles, EveryoneExceptExternalUsersAtSite, EveryoneExceptExternalUsersForItems, PermissionedUsers, PermissionsReport |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies the ID of the particular report to be fetched.
Type: | Guid |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies the time period of data of the reports to be fetched. A 'Snapshot' report will have the latest data as of the report generation time. A 'RecentActivity' report will be based on data in the last 28 days.
Type: | ReportTypeEnum |
Accepted values: | Snapshot, RecentActivity |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies the datasource of the reports to be fetched i.e., reports for SharePoint sites or for OneDrive accounts.
Type: | WorkloadEnum |
Accepted values: | SharePoint, OneDriveForBusiness |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
None
System.Object