| 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-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 on activities from the last 28 days in the SharePoint admin center.
Get-SPOAuditDataCollectionStatusForActivityInsights [-ReportEntity <OptInReportEntityEnum>]
[<CommonParameters>]
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.
Get-SPOAuditDataCollectionStatusForActivityInsights -ReportEntity SharingLinks_AnyoneThis 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.
Specifies the entity for which the corresponding audit data collection status should be shown.
Type: Microsoft.Online.SharePoint.TenantAdministration.OptInReportEntityEnum
Parameter Sets: (All)
Aliases:
Accepted values: SharingLinksAnyone, SharingLinksPeopleInYourOrg, SharingLinksGuests, 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