How a mailbox becomes inactive
An inactive mailbox is a type of soft-deleted mailbox that is kept because a hold applied before the user account was deleted.
- No hold: a deleted account's mailbox is kept for 30 days, then permanently removed.
- Hold in place: the mailbox becomes inactive, is kept for the hold's duration, and stays searchable by eDiscovery.
Holds that make a mailbox inactive: Microsoft 365 retention policies and labels set to retain, or retain then delete; eDiscovery holds; Litigation Hold. Holds that do not: a Purview policy with a delete-only action, and any Exchange MRM retention policy. On an inactive mailbox, MRM Delete tags keep processing, but MoveToArchive tags are ignored.
Don't change the UPN or primary SMTP address before deleting the account, or the inactive mailbox can't later be removed from the policy.
When retention ends
When retention no longer applies, the inactive mailbox is not deleted automatically; an admin must delete it. Closing an eDiscovery case or releasing its hold permanently deletes inactive mailboxes that only that hold was keeping.
Recover or restore
- Recover converts the inactive mailbox into a new active mailbox, and the inactive mailbox no longer exists.
- Restore copies its contents into an existing mailbox, and the inactive mailbox stays inactive.
Recovery is PowerShell-only: the EAC and the Purview portal can't do it. Find the mailbox with Get-Mailbox -InactiveMailboxOnly, then run New-Mailbox -InactiveMailbox with its ExchangeGuid. A new user account is created and must be licensed. On recovery, RetainDeletedItemsFor is set to 30 days, Litigation Hold replaces a retention policy without Preservation Lock, and a retention hold applies for 30 days.
If the mailbox was soft-deleted less than 30 days ago, restore the user account instead.
The auto-expanding archive trap
An inactive mailbox with an auto-expanding archive can't be recovered or restored. Its data can only be exported through content search. Auto-expanding archiving can't be turned off once enabled, so this can't be undone.