Microsoft Secure Tech Accelerator
Apr 03 2024, 07:00 AM - 11:00 AM (PDT)
Microsoft Tech Community

Content Search and Pruge

Copper 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.