Email Migration

Fix ExchangeGuid and ArchiveGuid Sync in an Office 365 Hybrid Migration

Muhammad TalhaMuhammad Talha Nov 25, 2026 868 views

Question details

Resolve missing or zeroed mailbox and archive GUIDs that prevent archive-enabled mailboxes from migrating in an Exchange 2010 hybrid deployment.

Fix ExchangeGuid and ArchiveGuid Sync in an Office 365 Hybrid Migration
Product
Exchange Server 2010, Microsoft 365 Exchange Online, and Azure AD Connect
Device & OS
not provided
Scenario
An administrator is moving archive-enabled on-premises mailboxes to Office 365 in a hybrid migration.
Observed behavior
The migration fails with MissingExchangeGuidException, and ExchangeGuid or ArchiveGuid remains empty or zeroed in the cloud after synchronization.
Before you start

In the Exchange Management Shell, record the affected mailbox's ExchangeGuid, ArchiveGuid, and archive database using Get-Mailbox. Confirm the disconnected mailbox retention period and your organization's recovery procedure before disabling an archive or running database cleanup.

Solution 1

Check synchronization errors and mailbox GUIDs

Use these checks to identify synchronization errors or an incorrectly matched cloud recipient before changing the archive.

1
Check the on-premises mailbox

In the Exchange Management Shell, run Get-Mailbox -Identity <user> | Format-List ExchangeGuid,ArchiveGuid,ArchiveDatabase and record the results.

2
Check the cloud recipient

In Exchange Online PowerShell, inspect the matching recipient with Get-MailUser -Identity <user> | Format-List ExchangeGuid,ArchiveGuid if it is a mail user, or use Get-Mailbox for an existing cloud mailbox. Compare the values with the on-premises results.

3
Review synchronization errors

On the synchronization server, open Synchronization Service Manager and review recent import, synchronization, and export runs for errors affecting the user. Correct reported errors and allow another synchronization cycle to complete.

4
Check for a duplicate archive GUID

In the appropriate Exchange PowerShell session, search for recipients with the affected archive GUID using Get-Recipient -ResultSize Unlimited -Filter {ArchiveGuid -eq "<on-premises-archive-guid>"} | Format-List. Investigate any unexpected match before changing GUIDs.

Avoid changing GUIDs blindly: A missing GUID can have causes other than the archive issue described here. Investigate synchronization and recipient configuration before using Set-MailUser or recreating an archive.
Free Microsoft Office alternative

Work with Office files in WPS Office

WPS Office is a free, lightweight alternative for working with Office documents through a familiar interface. It supports common Microsoft Office formats, making it easier to move everyday file work between suites. It does not repair Exchange hybrid migrations or synchronize mailbox GUIDs.

Free, lightweight tools for everyday document workCompatible with Microsoft Word, Excel, and PowerPoint formats, including DOCX, XLSX, and PPTXFamiliar editing interface for a smoother transitionOpen and edit Office files shared during migration planning
QA img-9

Frequently Asked Questions

Why does a hybrid mailbox migration report MissingExchangeGuidException?

The cloud recipient may be missing a required mailbox or archive GUID, but synchronization and recipient configuration issues can have different causes. Compare the on-premises and cloud GUIDs and review synchronization errors before applying a workaround.

How can I check the on-premises ExchangeGuid and ArchiveGuid?

In the on-premises Exchange Management Shell, run Get-Mailbox -Identity <user> | Format-List ExchangeGuid,ArchiveGuid,ArchiveDatabase.

Can I reconnect the old archive instead of creating a new one?

Reconnecting the old archive may preserve the synchronization problem. The reported workaround creates a new archive and restores the disconnected archive's contents into it.

How do I check whether another recipient has the archive GUID?

In Exchange PowerShell, run Get-Recipient -ResultSize Unlimited -Filter {ArchiveGuid -eq "<on-premises-archive-guid>"} | Format-List and investigate any unexpected recipient returned.

Will database cleanup delete the old archive?

Cleanup updates disconnected mailbox status and can remove disconnected data when its retention period has expired. Verify retention and the recovery procedure before running Clean-MailboxDatabase.