external help file: sharepointonline.xml Module Name: Microsoft.Online.SharePoint.PowerShell online version: https://learn.microsoft.com/powershell/module/sharepoint-online/get-spoauditdatacollectionstatusforactivityinsights applicable: SharePoint Online title: Get-SPOAuditDataCollectionStatusForActivityInsights schema: 2.0.0 author: pvrk ms.author: pullabhk manager: ms.reviewer:
Lists the current status of audit data collection for reports based on activities within the last 28 days, from SharePoint Admin Center.
Get-SPOAuditDataCollectionStatusForActivityInsights [-ReportEntity <OptInReportEntityEnum>]
[<CommonParameters>]
SharePoint administrators can generate reports based on activities within the last 28 days such as Sharing link reports, content shared with Everyone except external users etc from SharePoint admin center. These reports require audit data to be collected after approved by SharePoint admin. This command gives the current status of the relevant audit data collection.
PS C:\> Get-SPOAuditDataCollectionStatusForActivityInsights -ReportEntity SharingLinks_AnyoneThis command fetches the current status of audit data collection for the report on sites with most number of "Anyone" sharing links generated in the last 28 days.
Specifies the entity for which the corresponding audit data collection status should be shown
Type: OptInReportEntityEnum
Parameter Sets: (All)
Aliases:
Accepted values: SharingLinks_Anyone, SharingLinks_PeopleInYourOrg, SharingLinks_Guests, EveryoneExceptExternalUsersAtSite, EveryoneExceptExternalUsersForItems, CopilotAppInsights
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-SPOAuditDataCollectionForActivityInsights Stop-SPOAuditDataCollectionForActivityInsights Start-SPODataAccessGovernanceInsight