Can You Disable Recover Deleted Items in Exchange Online?
Question details
Determine whether all deleted-item recovery options can be permanently disabled in Exchange Online.

- Product
- Microsoft Exchange Online
- Device & OS
- not provided
- Scenario
- An administrator wants deleted mailbox messages to be permanently removed rather than remain available for recovery.
- Observed behavior
- Setting RetainDeletedItemsFor to zero does not necessarily remove the Recover Deleted Items feature, and retention or compliance protections may preserve messages.
Confirm that you have permission to inspect the mailbox in Exchange Online PowerShell and, if necessary, review retention settings in Microsoft Purview. Check with your compliance administrator before changing any hold or retention policy.
Check deleted-item retention and compliance protections
Use this approach to understand which settings may allow deleted messages to remain recoverable.
Exchange Online does not generally provide a way to disable every recovery option by setting deleted-item retention to zero. Mailbox holds and Microsoft Purview retention policies can preserve content independently of that setting.
Open PowerShell, load the ExchangeOnlineManagement module, and run Connect-ExchangeOnline. Sign in with an account that can inspect the mailbox.
Run Get-Mailbox -Identity "<mailbox>" | Format-List RetainDeletedItemsFor,SingleItemRecoveryEnabled,LitigationHoldEnabled, replacing <mailbox> with the mailbox identity.
In the Microsoft Purview portal, review retention policies and eDiscovery holds that may apply to the mailbox. Ask a compliance administrator for help if you cannot access these settings.

Purge eligible items from Recover Deleted Items
Use this option to remove specific items from the recovery list where your permissions allow it.
Work with Office documents using WPS Office
WPS Office is a free, lightweight alternative for editing documents, spreadsheets, and presentations. Its familiar interface and Microsoft Office format support make it easy to move existing files. It does not administer Exchange Online recovery or compliance settings.

Frequently Asked Questions
Does setting RetainDeletedItemsFor to zero hide Recover Deleted Items?
Not necessarily. The setting controls deleted-item retention, but it does not generally remove the recovery feature or override applicable compliance protections.
How can I check a mailbox's deleted-item retention period?
Connect with Connect-ExchangeOnline in PowerShell, then run Get-Mailbox -Identity "<mailbox>" | Format-List RetainDeletedItemsFor.
Why can a message still be preserved after I purge it?
A hold, retention policy, or other protection may preserve a copy. Review mailbox settings in Exchange Online and applicable retention policies or eDiscovery holds in Microsoft Purview.
Can a retention tag disable all email recovery?
A retention tag manages the lifecycle of applicable mailbox items; it does not by itself disable every recovery option or override compliance holds.




