Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
Get-SPODataAccessGovernanceInsight
Lists various 'Data Access Governance' (DAG) reports in SharePoint admin center.
Syntax
GetAllReportsParameterSet
Get-SPODataAccessGovernanceInsight
-ReportEntity <ReportEntityEnum>
[-Workload <WorkloadEnum>]
[-ReportType <ReportTypeEnum>]
[<CommonParameters>]
GetReportParameterSet
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.
Parameter properties
| Type: | Microsoft.Online.SharePoint.TenantAdministration.ReportEntityEnum |
| Default value: | None |
| Accepted values: | Everyone, EveryoneExceptExternalUsers, EveryoneExceptExternalUsersAtSite, EveryoneExceptExternalUsersForItems, PermissionedUsers, PermissionsReport, SensitivityLabelForFiles, SharingLinks_Anyone, SharingLinks_Guests, SharingLinks_PeopleInYourOrg |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
-ReportID
Specifies the ID of the particular report to be fetched.
Parameter properties
| Type: | System.Guid |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
-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.
Parameter properties
| Type: | Microsoft.Online.SharePoint.TenantAdministration.ReportTypeEnum |
| Default value: | None |
| Accepted values: | Snapshot, RecentActivity |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
-Workload
Specifies the datasource of the reports to be fetched i.e., reports for SharePoint sites or for OneDrive accounts.
Parameter properties
| Type: | WorkloadEnum |
| Default value: | None |
| Accepted values: | SharePoint, OneDriveForBusiness |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Inputs
None
Outputs
System.Object
Related Links
Feedback
Was this page helpful?
