Fix Invalid ExchangeGuid Errors in Microsoft 365 IMAP Migration
Question details
The user needs to resolve an invalid ExchangeGuid error during an IMAP migration to Microsoft 365.

- Product
- Microsoft 365 Exchange Online
- Device & OS
- not provided
- Scenario
- Migrating email from a source IMAP account to an Exchange Online mailbox, potentially using different source and target domains.
- Observed behavior
- The migration reports an invalid ExchangeGuid, which may indicate a target mailbox, license, identity, CSV mapping, or domain configuration issue.
Identify the source IMAP sign-in and the intended Microsoft 365 target address for each user. Have access to the Microsoft 365 admin center, Exchange admin center, and migration CSV; protect the CSV because it may contain passwords.
Verify the Exchange Online mailbox and migration CSV mapping
Use this method to check that the migration points to a provisioned target mailbox rather than the source IMAP account.
In the Microsoft 365 admin center, open Users > Active users, select the target user, and check Licenses and apps. Assign a license that includes Exchange Online if needed, then allow time for the mailbox to be provisioned.
In the Exchange admin center, open Recipients > Mailboxes and look for the target mailbox. Alternatively, connect to Exchange Online PowerShell and run Get-Mailbox -Identity user@target-domain.com | Format-List PrimarySmtpAddress,ExchangeGuid. Confirm that it returns the intended mailbox and a nonzero GUID.
Open the migration CSV and check its EmailAddress, UserName, and Password columns. Set EmailAddress to the target Microsoft 365 mailbox address and UserName to the source IMAP login; use the source account's required password in Password.
In the Exchange admin center, open Migration and review the affected batch. Re-create or update the batch with the corrected CSV as supported by the available options, then check the migration status and any error details.

Verify the target domain configuration
Check the domain if the target address uses a custom domain or the same domain as the source IMAP service.
Work with migration spreadsheets in WPS Office
WPS Office is a free, lightweight Office alternative with a familiar interface. Use WPS Spreadsheet to review migration data and work with Microsoft Office files as you move between tools. It does not fix Exchange Online mailbox or migration errors.

Frequently Asked Questions
Which address belongs in the EmailAddress column?
Enter the target Exchange Online mailbox address in EmailAddress. Enter the source IMAP login in UserName, even if the source and target use different domains.
How can I check a mailbox's ExchangeGuid?
Connect to Exchange Online PowerShell and run Get-Mailbox -Identity user@target-domain.com | Format-List ExchangeGuid. Confirm that the command returns the intended mailbox and a nonzero GUID.
Can I delete a migration batch as soon as its status is Synced?
Synced does not necessarily mean you are ready to end migration. Confirm that the migrated mail and cutover are complete before deleting the batch, because deleting it stops further synchronization. Deleting the batch does not delete the target mailboxes.
What if the target mailbox is missing?
In the Microsoft 365 admin center, check Users > Active users for the correct account and an Exchange Online license. Allow time for provisioning, then look for the mailbox under Recipients > Mailboxes in the Exchange admin center.




