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

Default (Default)

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.

Parameter properties

Type:Microsoft.Online.SharePoint.TenantAdministration.OptInReportEntityEnum
Default value:None
Accepted values:SharingLinksAnyone, SharingLinksPeopleInYourOrg, SharingLinksGuests, EveryoneExceptExternalUsersAtSite, EveryoneExceptExternalUsersForItems, CopilotAppInsights
Supports wildcards:False
DontShow:False

Parameter sets

(All)
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.

Inputs

None

Outputs

System.Object