Search and Delete email messages in Office 365 organization
I have deleted the email from the users mailboxes by creating a “Content Search”
Then Connect to the Security & Compliance Center using remote PowerShell
Then Delete the message “New-ComplianceSearchAction -SearchName "Phishing" -Purge -PurgeType SoftDelete”
To Check the state “Get-ComplianceSearchAction”