Hi,
Welcome to Microsoft Q&A community.
Understanding the Recoverable Items Folder
The Recoverable Items folder in Exchange Online is a hidden folder that stores items deleted from a mailbox. It is divided into several subfolders, each serving a specific purpose:
Deletions: Contains items deleted from the Deleted Items folder (soft-deleted items). These items can be recovered by the user using the “Recover Deleted Items” feature in Outlook or Outlook on the web.
Purges: Contains items that have been purged from the Deletions subfolder (hard-deleted items). These items are not accessible to users and are typically retained for compliance and eDiscovery purposes.
Other Subfolders: Include Audits, Calendar Logging, SubstrateHolds, and Versions, which store various types of data for compliance and auditing.
Viewing Items in Recoverable Items and Purges
To see what is in the Recoverable Items and Purges folders, you can use the following PowerShell commands:
View Items in Deletions:
Get-RecoverableItems -Identity ******@company.name -SourceFolder Deletions
View Items in Purges:
Get-RecoverableItems -Identity ******@company.name -SourceFolder Purges
Restoring Items from Recoverable Items and Purges
To restore items from the Recoverable Items folder, you can use the Search-Mailbox cmdlet to search for and restore items. Here’s an example:
Restore Items from Deletions:
Search-Mailbox -Identity ******@company.name -SearchQuery "kind:email" -SearchDumpsterOnly -TargetMailbox ******@company.name -TargetFolder "Recovered Items" -LogLevel Full
Restore Items from Purges:
Search-Mailbox -Identity ******@company.name -SearchQuery "kind:email" -SearchDumpsterOnly -TargetMailbox ******@company.name -TargetFolder "Recovered Items" -LogLevel Full