How to Reclaim Exchange Server Disk Space After Microsoft 365 Migration
Question details
The administrator needs to reclaim disk space on an on-premises Exchange server after migrating mailboxes to Microsoft 365 using a third-party tool, while maintaining the server for directory synchronization.

- Product
- Microsoft Exchange Server
- Device & OS
- not provided
- Scenario
- Managing post-migration on-premises storage and removing unnecessary mailbox data without disrupting Azure AD Connect synchronization.
- Observed behavior
- Local mailbox data continues to consume disk space on the on-premises Exchange server even after the users have been migrated to the cloud.
Ensure that all user mailboxes have been successfully migrated to Microsoft 365 and that external mail delivery to the cloud is functioning correctly before deleting any on-premises data.
Verify and Disable Local Mailboxes
Identify if local user mailboxes are still present and safely disable them to free up disk space without deleting the Active Directory user.
When using third-party migration tools like Transend Migrator instead of a minimal hybrid configuration, local mailboxes may not automatically convert to remote mailboxes. You must manually identify and disable them to clear the storage.
Log in to your on-premises Exchange Server and launch the Exchange Management Shell (EMS) with administrative privileges.
Execute the command `Get-Mailbox` to determine which local user mailboxes still exist on the server.
Run the `Disable-Mailbox` cmdlet for the migrated users. This disconnects the mailbox and clears the data to reclaim space, but leaves the Active Directory user account completely intact for directory synchronization.

Configure Remote Mailboxes for Hybrid Management
Represent migrated users as remote mailboxes so you can manage Exchange attributes locally after reclaiming space.
Manage Your Post-Migration Documents with WPS Office
While you optimize your Exchange Server storage, empower your team with a free, lightweight, and highly compatible office suite. WPS Office provides seamless document creation and editing with full support for Microsoft Office formats, reducing licensing overhead.
- 1. Download WPS Office: Visit the official WPS Office website to download the free installation package for your operating system.
- 2. Install the Suite: Run the setup file and follow the quick on-screen instructions to install the lightweight suite.
- 3. Open Your Files: Directly open, edit, and save your existing Microsoft Office documents without any format conversion required.

Frequently Asked Questions
Can I completely uninstall my on-premises Exchange Server after migrating to Microsoft 365?
No. If you are using Azure AD Connect for directory synchronization, Microsoft requires you to maintain at least one on-premises Exchange Server to manage recipient attributes properly.
Will disabling a local mailbox delete the user's Active Directory account?
No. Using the `Disable-Mailbox` cmdlet only strips the Exchange attributes and disconnects the mailbox data from the user account. The Active Directory user account remains fully intact for authentication and synchronization.
How can I check what is consuming the most space on my Exchange server?
You can use the `Get-MailboxStatistics` cmdlet in the Exchange Management Shell to view the size of individual mailboxes and identify any forgotten archives or large data stores consuming local disk space.




