How to Fix Google Workspace to Exchange IMAP Migration Network Error
Question details
The user needs to resolve a network error preventing email migration from Google Workspace to Exchange Online.

- Product
- Exchange Online
- Device & OS
- not provided
- Scenario
- Running an IMAP migration batch from Google Workspace to Microsoft 365 / Exchange Online.
- Observed behavior
- The migration batch fails with a RemoteNetworkErrorTransientException stating the email provider is unreachable, even though the Remote Connectivity Analyzer passes the IMAP connection test.
Ensure you have global administrator or Exchange administrator permissions in Microsoft 365, and verify that the source Google Workspace accounts have IMAP access enabled.
Recreate the IMAP Migration Endpoint
Deleting and recreating the migration endpoint refreshes the connection settings and often resolves transient routing errors between Exchange Online and Google Workspace.
Sometimes the connection parameters cached in the migration endpoint become stale or encounter persistent backend routing issues. A fresh endpoint forces Exchange Online to establish a new connection path.
Log in to the Microsoft 365 admin portal and open the Exchange Admin Center (EAC).
Navigate to the 'Migration' tab and click on 'Migration endpoints' in the top menu.
Select the current Google Workspace IMAP endpoint that is failing and click the delete (trash can) icon.
Click 'New' to create a new IMAP migration endpoint. Enter 'imap.gmail.com' as the IMAP server and configure the appropriate authentication settings.
Go back to your migration batches, update the batch to use the newly created endpoint, and resume the migration process.

Verify Exchange Environment and Contact Microsoft Support
If recreating the endpoint fails, the issue may stem from complex hybrid routing topologies or backend Microsoft 365 server blocks that require support escalation.
Maintain Productivity During IT Migrations with WPS Office
While resolving complex Exchange server migration issues, ensure your team's document workflows remain uninterrupted. WPS Office is a free, lightweight, and highly compatible alternative to Microsoft Office that allows your team to keep working without relying on heavy cloud infrastructures.

Frequently Asked Questions
Why does the Remote Connectivity Analyzer succeed while the migration fails?
The Remote Connectivity Analyzer tests a single, direct connection to the Google IMAP server. The actual migration batch uses backend Exchange Online servers which might be encountering specific routing issues, rate limits, or transient network drops not present during a one-off test.
What does RemoteNetworkErrorTransientException mean?
This exception indicates that the Microsoft 365 migration servers temporarily lost network connectivity to the source email provider (in this case, Google Workspace) while attempting to sync the mailbox data.
Do I need App Passwords for migrating from Google Workspace?
Yes. If your Google Workspace accounts have 2-Step Verification enabled, standard passwords will not work for IMAP migrations. You must generate an App Password for each user and use that in your migration CSV file.




