Fix Exchange Online Mailbox Marked for Removal
Question details
An Exchange Online mailbox has been unexpectedly marked for removal even though no administrator manually initiated a deletion or removal process.
- Product
- Exchange Online
- Device & OS
- not provided
- Scenario
- Monitoring or managing Exchange Online user mailboxes and resolving unexpected deletion statuses.
- Observed behavior
- The mailbox state automatically changes to 'marked for removal', typically indicating an underlying synchronization error or licensing conflict.
Ensure you have global administrator or Exchange administrator privileges in the Microsoft 365 Admin Center and access to Microsoft Entra ID (Azure AD) before modifying user attributes.
Check for Duplicate Microsoft Entra Objects
Synchronization errors can create duplicate Exchange objects linked to the same Microsoft Entra object ID, triggering automatic removal flags.
When Azure AD Connect or other directory synchronization tools encounter conflicts, multiple Exchange objects may become tied to a single Entra ID user. Exchange Online detects this inconsistency and may mark the mailbox for removal to protect data integrity.
Log into the Microsoft Entra admin center using your administrator credentials.
Navigate to 'Users' > 'All users' and locate the account experiencing the mailbox issue using their User Principal Name (UPN).
Check the user's properties and object ID. Run a directory sync error report to see if another object shares the same ID or proxy addresses.
If duplicates are found, remove the conflicting object from your on-premises Active Directory and force a delta synchronization to clear the error in Exchange Online.
Verify Exchange Online License and Mailbox Configuration
A lapsed, suspended, or unassigned Exchange Online license will automatically put the associated mailbox into a pending removal state.
Perform an Administrator-Guided Re-sync
If the mailbox remains stuck in a removal state despite correct licensing, manually removing and restoring the user can force a fresh connection.
Need a lightweight and compatible Office suite?
While troubleshooting complex Exchange server issues, you may also be looking for a fast, reliable, and cost-effective office suite for your daily work. WPS Office is a lightweight alternative that seamlessly handles all your document, spreadsheet, and presentation needs.
- 1. Download the installer: Visit the official WPS Office website and click the free download button for your operating system.
- 2. Install the software: Run the downloaded executable file and follow the on-screen instructions to install the suite.
- 3. Start creating documents: Open WPS Office to instantly create, edit, and save Word, Excel, and PowerPoint compatible files.

Frequently Asked Questions
Why does a mailbox get marked for removal automatically?
A mailbox is typically marked for removal automatically if the user's Exchange Online license is unassigned or expires, if the user account is soft-deleted in Microsoft Entra ID, or if directory synchronization creates conflicting duplicate object IDs.
How long can a mailbox stay in the marked for removal state before data is lost?
By default, Microsoft retains mailboxes in a deleted or pending removal state for 30 days. If the underlying issue (like licensing or account restoration) is resolved within this window, all data is preserved.
Can I check the mailbox removal status using PowerShell?
Yes. You can connect to Exchange Online PowerShell and run the 'Get-Mailbox' cmdlet. Look for the 'RecipientTypeDetails' or check 'Get-User' to see if the account is flagged as a 'UserMailbox' or 'Previous' pending deletion.




