logo
search
Email Migration

Fix MigrationTransientException During Microsoft 365 IMAP Migration

Phi Hung VoPhi Hung Vo Oct 23, 2026 869 views

Question details

Users encounter a MigrationTransientException during Microsoft 365 IMAP migrations because Exchange Online is unable to connect to the source email provider.

How to Fix MigrationTransientException During an IMAP Migration
Product
Microsoft 365
Device & OS
not provided
Scenario
Migrating mailboxes from an external email provider to Microsoft 365 using IMAP.
Observed behavior
The migration batch fails and throws a MigrationTransientException, indicating that Exchange Online cannot reach or communicate with the source IMAP server.
Before you start

Ensure you have administrator privileges in the Microsoft 365 admin center and are familiar with running Exchange Online PowerShell cmdlets.

Solution 1Recommended

Run Diagnostic Cmdlets and Contact Microsoft Support

Since MigrationTransientException is a backend connectivity issue, you must gather detailed PowerShell diagnostic logs and submit them to Microsoft Support for further investigation.

Transient failures typically result from issues with the source IMAP server, network configurations, server performance, or Microsoft 365 resource throttling. Running specific PowerShell cmdlets will help the migration team pinpoint the exact blockage.

1
Connect to Exchange Online PowerShell

Open PowerShell as an administrator and connect to your Exchange Online environment using your Microsoft 365 admin credentials.

2
Test Server Availability

Run the command `Test-MigrationServerAvailability` to verify if Exchange Online can successfully communicate with your source IMAP migration endpoint.

3
Generate Migration Batch Reports

Execute the command `Get-MigrationBatch -IncludeReport -DiagnosticInfo "showtimeslots, showtimeline, verbose"` to gather comprehensive logs and timelines for the failed migration batch.

4
Gather User and Sync Statistics

Run the `Get-MigrationUserStatistics` and `Get-SyncRequestStatistics` cmdlets to collect data regarding individual user failures and specific synchronization requests.

5
Submit a Service Request

Sign in to the Microsoft 365 admin center. Navigate to Support > New service request, and provide the diagnostic reports you generated so the backend migration team can resolve the connectivity issue.

Run Diagnostic Cmdlets and Contact Microsoft Support
Backend Diagnostics Required: Microsoft 365 support relies heavily on these verbose PowerShell reports to whitelist IPs or bypass specific throttling rules on the Exchange backend.
Free Microsoft Office alternative

Discover WPS Office as Your Lightweight Productivity Solution

While resolving complex Microsoft 365 migration issues, ensure your daily productivity remains uninterrupted. WPS Office offers a free, highly compatible, and lightweight desktop alternative for creating and editing your documents.

  1. 1. Visit the Official Website: Go to the official WPS Office website to download the latest free version.
  2. 2. Install the Software: Run the downloaded installer and follow the on-screen prompts to complete the installation.
  3. 3. Start Creating: Open WPS Office and instantly access Writer, Spreadsheets, Presentation, and PDF tools from a single workspace.
Completely free and lightweight office suite for seamless performanceHighly compatible with Microsoft Office formats including Word, Excel, and PowerPointFamiliar and intuitive user interface requires no learning curveBuilt-in robust PDF editing and conversion tools
microsoft office alternative - wps office

Frequently Asked Questions

What causes a MigrationTransientException in Microsoft 365?

This error typically occurs when Exchange Online cannot reach the source IMAP email provider. Common causes include strict network configurations, source server performance limits, or Microsoft 365 resource throttling.

How can I test if Exchange Online can reach my IMAP server?

You can use the `Test-MigrationServerAvailability` cmdlet in Exchange Online PowerShell. This test verifies the connectivity and authentication between Microsoft 365 and your source migration endpoint.

What diagnostic logs should I provide to Microsoft Support?

To expedite your support request, provide reports generated by running `Get-MigrationBatch -IncludeReport -DiagnosticInfo "showtimeslots, showtimeline, verbose"`, along with outputs from `Get-MigrationUserStatistics` and `Get-SyncRequestStatistics`.