Edit

Share via


Get-SPOAuditDataCollectionStatusForActivityInsights

Lists the current status of audit data collection for reports on activities from the last 28 days in the SharePoint admin center.

Syntax

Get-SPOAuditDataCollectionStatusForActivityInsights
   [-ReportEntity <OptInReportEntityEnum>]
   [<CommonParameters>]

Description

SharePoint Administrators can generate reports on activities from the last 28 days, such as sharing link reports and content shared with everyone except external users, from the SharePoint admin center. These reports need audit data, which must be collected after approval by the SharePoint Administrator. This cmdlet shows the current status of the audit data collection.

Examples

Example 1

Get-SPOAuditDataCollectionStatusForActivityInsights -ReportEntity SharingLinks_Anyone

This example 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.

Parameters

-ReportEntity

Specifies the entity for which the corresponding audit data collection status should be shown.

Type:OptInReportEntityEnum
Accepted values:SharingLinksAnyone, SharingLinksPeopleInYourOrg, SharingLinksGuests, EveryoneExceptExternalUsersAtSite, EveryoneExceptExternalUsersForItems, CopilotAppInsights
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

System.Object