Trying to delete a new-compliancesearchaction (email not deleting) RRS feed

  • Question

  • new-compliancesearchaction -searchname "chris" -purge -purgetype softdelete

    Are you sure you want to perform this action?

    This operation will make message items meeting the criteria of the compliance search "chris" completely inaccessible to
     users. There is no automatic method to undo the removal of these message items.
    [Y] Yes  [A] Yes to All  [N] No  [L] No to All  [?] Help (default is "Y"): y

    Purge does not support the SharePoint or OneDrive workload.
        + CategoryInfo          : WriteError: (:) [New-ComplianceSearchAction], InvalidOperationException
        + FullyQualifiedErrorId : [Server=TO1CAN01WS009,RequestId=3353fd2d-9071-4dd3-b810-6fa9ec44a00c,TimeStamp=7/20/2018
        3:17:09 PM] [FailureCategory=Cmdlet-InvalidOperationException] 2B76BD23,Microsoft.Office.ComplianceJob.Tasks.NewC
        + PSComputerName        : can01b.ps.compliance.protection.outlook.com

    Friday, July 20, 2018 3:20 PM

All replies