Email Migration

Fix Invalid ExchangeGuid Errors in Microsoft 365 IMAP Migration

Anum MushtaqAnum Mushtaq Nov 20, 2026 870 views

Question details

The user needs to resolve an invalid ExchangeGuid error during an IMAP migration to Microsoft 365.

Fix Invalid ExchangeGuid Errors During Microsoft 365 IMAP Migration
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.
Before you start

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.

Solution 1Recommended

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.

1
Check the target user and license

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.

2
Confirm the mailbox and ExchangeGuid

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.

3
Correct the CSV mapping

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.

4
Update the migration batch

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 Exchange Online mailbox and migration CSV mapping
Different source and target domains: If an account is moving from domain A to domain B, EmailAddress should identify the mailbox at domain B. UserName should remain the login required by the source IMAP server, which may use domain A.
Free Microsoft Office alternative

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.

Review source and target address mappings in a spreadsheetCompatible with Microsoft Excel XLSX and XLS formatsFamiliar spreadsheet interface for an easier transitionFree, lightweight tools for everyday document work
microsoft office alternative - wps office

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.