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

- 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.
Ensure you have administrator privileges in the Microsoft 365 admin center and are familiar with running Exchange Online PowerShell cmdlets.
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.
Open PowerShell as an administrator and connect to your Exchange Online environment using your Microsoft 365 admin credentials.
Run the command `Test-MigrationServerAvailability` to verify if Exchange Online can successfully communicate with your source IMAP migration endpoint.
Execute the command `Get-MigrationBatch -IncludeReport -DiagnosticInfo "showtimeslots, showtimeline, verbose"` to gather comprehensive logs and timelines for the failed migration batch.
Run the `Get-MigrationUserStatistics` and `Get-SyncRequestStatistics` cmdlets to collect data regarding individual user failures and specific synchronization requests.
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.

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. Visit the Official Website: Go to the official WPS Office website to download the latest free version.
- 2. Install the Software: Run the downloaded installer and follow the on-screen prompts to complete the installation.
- 3. Start Creating: Open WPS Office and instantly access Writer, Spreadsheets, Presentation, and PDF tools from a single workspace.

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`.




