Deleting Items from Email Account in bulk

Bronze Contributor

 

Hi everyone,

 

I've been attempting to delete all items from an email, but it seems that they're mainly residing in the recoverable items folder, which is currently at 100GB.

How can I remove all of these? I've tried deleting them manually, but they keep reappearing, even the ones in the sent items folder.

I've used the command: 

 

New-ComplianceSearchAction -SearchName "No-reply1" -Purge -PurgeType HardDelete

This command deletes 10 items at a time, as indicated when I run:

 
Get-ComplianceSearchAction -Identity 'No-reply1_Purge' | Format-list

However, when I perform another content search, it still shows the same number of items in the mailbox as when I first conducted the content search.

 

There is no hold on the mail box either. 

Can you please assist me in deleting all the items from this mailbox?

3 Replies
Follow the instructions here: https://learn.microsoft.com/en-us/purview/ediscovery-delete-items-in-the-recoverable-items-folder-of...
Some of the steps might not be applicable, so you can just skip them. At the very least, you need to disable Single item recovery.

Thanks @VasilMichev 

 

Will this let me delete items from DsicoveryHold? 

 

 

Such items you can delete by removing the corresponding discovery hold(s), waiting for the changes to replicate and forcing:

Start-ManagedFolderAssistant email address removed for privacy reasons -HoldCleanup