| external help file | Microsoft.Online.SharePoint.PowerShell.dll-Help.xml |
|---|---|
| Module Name | Microsoft.Online.SharePoint.PowerShell |
| online version | https://learn.microsoft.com/powershell/module/microsoft.online.sharepoint.powershell/get-spodataaccessgovernanceinsight |
| applicable | SharePoint Online |
| title | Get-SPODataAccessGovernanceInsight |
| schema | 2.0.0 |
| author | pvrk |
| ms.author | pullabhk |
| manager | |
| ms.reviewer |
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 EveryoneExceptExternalUsersForItemsThe 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: Microsoft.Online.SharePoint.TenantAdministration.ReportEntityEnum
Parameter Sets: GetAllReportsParameterSet
Aliases:
Accepted values: Everyone, EveryoneExceptExternalUsers, EveryoneExceptExternalUsersAtSite, EveryoneExceptExternalUsersForItems, PermissionedUsers, PermissionsReport, SensitivityLabelForFiles, SharingLinks_Anyone, SharingLinks_Guests, SharingLinks_PeopleInYourOrg
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseSpecifies the ID of the particular report to be fetched.
Type: System.Guid
Parameter Sets: GetReportParameterSet
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseSpecifies 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: Microsoft.Online.SharePoint.TenantAdministration.ReportTypeEnum
Parameter Sets: GetAllReportsParameterSet
Aliases:
Accepted values: Snapshot, RecentActivity
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseSpecifies the datasource of the reports to be fetched i.e., reports for SharePoint sites or for OneDrive accounts.
Type: WorkloadEnum
Parameter Sets: GetAllReportsParameterSet
Aliases:
Accepted values: SharePoint, OneDriveForBusiness
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: FalseThis cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Start-SPODataAccessGovernanceInsight
Export-SPODataAccessGovernanceInsight