Get-SPODataAccessGovernanceInsight
Lists various 'Data Access Governance' (DAG) reports in SharePoint admin center.
Syntax
Get-SPODataAccessGovernanceInsight
-ReportEntity <ReportEntityEnum>
[-WorkLoad <WorkloadEnum>]
[-ReportType <ReportTypeEnum>]
[<CommonParameters>]
Get-SPODataAccessGovernanceInsight
-ReportID <Guid>
[<CommonParameters>]
Description
This cmdlet fetches details of various DAG reports available in SharePoint admin center.
Examples
Example 1
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.
Parameters
-ReportEntity
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 |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ReportID
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 |
-ReportType
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 |
-WorkLoad
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 |
Inputs
None
Outputs
System.Object