Content Search and Pruge

Benjamin Wertz
New Contributor

Good Afternoon,


Question about the subject. When I run a content search against a known bad email then purge using New-ComplianceSearchAction command, what is the time it takes for the emails to be moved/deleted? 


I just ran it against a email on Friday and the next day they were still in that subfolder. Doesn't seem to be removing anything. What am I missing here?

2 Replies

Which subfolder in particular are we talking about? When you purge items, they will end up in the Deletions subfolder of the RecoverableItems subtree, where they will stay for the retention duration of that folder (30 days). The content search results will include items from this folder, so it might seem to you that no items were affected by the Delete operation.


There's also the option that the delete query did not match any items.

So when you do the content search besides including the initial subject you would need to include FW: and RE:


Trying to find the best and quickest way to delete/purge spam/phishing emails.

Related Conversations
Using Content Types in Teams
Tom Hamilton in Microsoft Teams on
6 Replies
Uploading MP3 and WAV Only files
Gordon Charles in Microsoft Stream Forum on
2 Replies
Content distribution
Santosh Seth in System Center Configuration Manager on
1 Replies
Share video with Office 365 group
anonymous-user in Microsoft Stream Forum on
3 Replies
Arrange Videos in a Playlist
anonymous-user in Microsoft Stream Forum on
8 Replies