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: | SharingLinks_Anyone, SharingLinks_PeopleInYourOrg, SharingLinks_Guests, SensitivityLabelForFiles, EveryoneExceptExternalUsersAtSite, EveryoneExceptExternalUsersForItems, PermissionedUsers, PermissionsReport |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
GetAllReportsParameterSet
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-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
GetReportParameterSet
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | 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.
Parameter properties
Type: | Microsoft.Online.SharePoint.TenantAdministration.ReportTypeEnum |
Default value: | None |
Accepted values: | Snapshot, RecentActivity |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
GetAllReportsParameterSet
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-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
GetAllReportsParameterSet
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
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.