| 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/stop-spoauditdatacollectionforactivityinsights |
| applicable | SharePoint Online |
| title | Stop-SPOAuditDataCollectionForActivityInsights |
| schema | 2.0.0 |
| author | pvrk |
| ms.author | pullabhk |
| manager | |
| ms.reviewer |
This cmdlet stops collecting audit data for 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.
Stop-SPOAuditDataCollectionForActivityInsights -ReportEntity <OptInReportEntityEnum> [<CommonParameters>]
This cmdlet stops collecting relevant audit data for reports, based on activites related to sharing and access. Reports are available for the following scenarios:
- Sharing links created in the last 28 days (Anyone, People in Your Organization, Specific people shared externally).
- Content shared with Everyone except external users (EEEU) in the last 28 days.
- Copilot agents created in the last 28 days (Private Preview).
Stop-SPOAuditDataCollectionForActivityInsights -ReportEntity SharingLinks_AnyoneThis example will stop collecting audit data related to the generation of 'Anyone' sharing links from the moment the cmdlet is executed.
Specifies the entity for which the corresponding audit data should not be collected.
Type: Microsoft.Online.SharePoint.TenantAdministration.OptInReportEntityEnum
Parameter Sets: (All)
Aliases:
Accepted values: SharingLinksAnyone, SharingLinksPeopleInYourOrg, SharingLinksGuests, EveryoneExceptExternalUsersAtSite, EveryoneExceptExternalUsersForItems, CopilotAppInsights
Required: True
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 Get-SPOAuditDataCollectionStatusForActivityInsights Start-SPODataAccessGovernanceInsight