logo
search
Email Migration

How to Fix Exchange IMAP Migration Batch Stuck in Removing State

Bushra ParveenBushra Parveen Oct 12, 2026 869 views

Question details

The user is unable to delete an IMAP migration batch, which is stuck with pending mailboxes and cannot be cleared using standard tools.

How to Fix Exchange IMAP Migration Batch Stuck in Removing State
Product
Microsoft Exchange Online
Device & OS
not provided
Scenario
Attempting to remove an Exchange IMAP migration batch via the Exchange admin center or PowerShell.
Observed behavior
The migration batch remains stuck in the Removing state. PowerShell commands like Remove-MigrationBatch fail and return a MigrationPermanentException error.
Before you start

Ensure you have global administrator or Exchange administrator privileges, and verify your connection to the Microsoft 365 admin center before troubleshooting.

Solution 1Recommended

Check Microsoft Service Health and Await Deployment

Use this solution first, as the issue is typically caused by a known Microsoft service regression affecting Mailbox Replication Service API calls.

When a service regression occurs on Microsoft's backend, API calls may return incorrect results, preventing migration batches from completing their removal process. In this state, local administrator commands will not work until Microsoft resolves the infrastructure issue.

1
Log in to the Admin Center

Navigate to the Microsoft 365 Admin Center using your administrator credentials.

2
Navigate to Service Health

Click on 'Health' in the left-hand menu, then select 'Service health'.

3
Check for Active Incidents

Look for any active advisories or incidents related to Exchange Online, specifically mentioning IMAP migrations or Mailbox Replication Services.

4
Monitor for Resolution

Wait for Microsoft to deploy the fix to the affected infrastructure. Once resolved, the batch should automatically clear from the Removing state.

Check Microsoft Service Health and Await Deployment
Incident Updates: Microsoft rolls out fixes to affected infrastructure gradually. It may take some time after the fix is deployed for your specific tenant to see the batch successfully removed.
Free Microsoft Office alternative

Boost Your Productivity with WPS Office

While waiting for Microsoft to resolve Exchange migration issues on their backend, ensure your team stays productive with WPS Office. It is a highly compatible, free, and lightweight office suite that handles all your daily document needs without relying on expensive cloud subscriptions.

  1. 1. Download the Installer: Visit the official WPS Office website and download the setup file for your PC or Mac.
  2. 2. Install WPS Office: Run the installer and follow the quick setup wizard to install the software in minutes.
  3. 3. Open Your Files: Launch WPS Office and open your existing Microsoft Office documents without losing any formatting.
Fully compatible with Microsoft Word, Excel, and PowerPoint formats (.docx, .xlsx, .pptx).Lightweight installation with a familiar, easy-to-use tabbed interface.Built-in advanced PDF editing, converting, and signing tools at no extra cost.Ensures seamless document workflows even during email migration downtimes.
microsoft office alternative - wps office

Frequently Asked Questions

Why does Remove-MigrationBatch return a MigrationPermanentException?

This exception usually occurs when backend services, such as the Mailbox Replication Service API, return incorrect data or experience a regression. It prevents the PowerShell command from successfully modifying or deleting the batch state.

How long should an IMAP migration batch stay in the Removing state?

Under normal conditions, an IMAP migration batch takes only a few minutes to be removed. If it remains in this state for several hours, it is likely stuck due to pending mailboxes or a service disruption.

Can I start a new migration batch while the old one is stuck?

It is not recommended to start a new migration batch for the same users if their previous batch is still stuck. Overlapping mailboxes can cause conflicts, duplicated emails, or further migration errors.