How to Safely Delete Microsoft 365 Mailboxes and Users
Question details
An administrator needs to safely remove mailbox and user data from a Microsoft 365 tenant before migrating content from another tenant.
- Product
- Microsoft 365
- Device & OS
- not provided
- Scenario
- Preparing a Microsoft 365 tenant for cross-tenant migration by clearing existing users and mailboxes without affecting critical compliance rules.
- Observed behavior
- The administrator must account for permissions, retention policies, and recovery settings to ensure data is permanently and safely deleted.
Confirm that you hold Global Administrator or Exchange Administrator privileges and verify that you have successfully backed up any essential data, as permanent deletion can be irreversible. Additionally, review active retention policies that might prevent mailboxes from being fully deleted.
Use the Microsoft 365 Admin Center
The safest and most straightforward GUI method to remove users and their associated mailboxes while handling OneDrive access and aliases.
Deleting a user account directly from the Microsoft 365 admin center automatically marks the associated Exchange Online mailbox for deletion. By default, the mailbox is retained for 30 days before being permanently purged, assuming no retention holds are applied.
Sign in to the Microsoft 365 admin center using your Global Administrator credentials.
On the left navigation menu, go to 'Users' and click on 'Active users'.
Check the box next to the name of the user you want to remove, click the 'Delete user' option at the top, and follow the prompts to manage their email aliases and OneDrive files.
Use Exchange Online PowerShell
Ideal for administrators needing to perform bulk deletions or permanently remove disconnected mailboxes via command-line management.
Looking for a Lightweight Alternative to Microsoft 365?
Managing complex Microsoft 365 subscriptions, user environments, and admin centers can be overwhelming. If you need a powerful, lightweight, and easy-to-manage office suite for document creation without the heavy cloud administration, consider WPS Office.
- 1. Download the Installer: Visit the official WPS Office website and click the Free Download button for your operating system.
- 2. Install WPS Office: Run the lightweight installation package and follow the on-screen instructions to set up the software in minutes.
- 3. Open Your Office Files: Launch WPS Office and open your existing .docx, .xlsx, or .pptx files seamlessly with zero formatting loss.

Frequently Asked Questions
How long is a deleted mailbox kept in Microsoft 365 by default?
When you delete a user account in Microsoft 365, their mailbox becomes a disconnected mailbox and is retained for 30 days by default. During this 30-day window, the mailbox can be recovered by restoring the user account. Afterward, it is permanently deleted.
Why can't I permanently delete a specific user's mailbox?
If a mailbox is placed on Litigation Hold or is subject to an organization-wide Retention Policy, the data cannot be permanently purged. You must first remove the hold or exclude the specific user from the retention policy before attempting deletion.
Does deleting a user also delete their OneDrive data?
Yes, but not immediately. When you delete a user through the admin center, you are prompted to give another user access to their OneDrive files. The original user's OneDrive data is kept for a default period of 30 days (which can be extended by an administrator) before being permanently removed.




