Exchange Connection Problems

Fix Set-SyncMailUser Failed Because ExchangeGuid Is Already in Use

Maira MehtabMaira Mehtab Nov 2, 2026 868 views

Question details

A synchronized hybrid user cannot be provisioned due to an ExchangeGuid conflict with another recipient object.

Fix 'Set-SyncMailUser Failed Because ExchangeGuid Is Already in Use' Error
Product
Microsoft Exchange
Device & OS
not provided
Scenario
Provisioning a synchronized user in an Exchange hybrid environment or Microsoft 365.
Observed behavior
PowerShell throws a Set-SyncMailUser failed error indicating the ExchangeGuid is already in use. The affected account appears as a mail user with an all-zero Exchange GUID.
Before you start

Ensure you have the Exchange Online PowerShell module installed and possess global administrator or Exchange administrator privileges to run diagnostic cmdlets.

Solution 1Recommended

Identify and Clear Duplicate or Soft-Deleted Mailboxes

Locate the conflicting object holding the ExchangeGuid in Exchange Online to remove or merge it.

When Azure AD Connect synchronizes an on-premises user, Exchange Online checks if the associated ExchangeGuid already exists. If a soft-deleted or duplicate mailbox retains this GUID, the provisioning process will fail.

1
Connect to Exchange Online PowerShell

Launch PowerShell as an administrator and connect to Exchange Online to run diagnostic cmdlets.

2
Search for the conflicting GUID

Run the command 'Get-Recipient -Identity <ConflictingGUID>' to verify if any active recipient is currently using the GUID.

3
Check soft-deleted mailboxes

Execute 'Get-Mailbox -SoftDeletedMailbox | Where-Object { $_.ExchangeGuid -eq "<ConflictingGUID>" }' to find inactive mailboxes retaining the GUID.

4
Clear the duplicate object

Once identified, permanently delete the conflicting soft-deleted mailbox or clear the GUID from the duplicate object to allow directory synchronization to complete successfully.

Identify and Clear Duplicate or Soft-Deleted Mailboxes
Escalation: If you are unable to identify the duplicate object using PowerShell cmdlets, you may need to escalate the case to Microsoft Support for backend resolution.
Free Microsoft Office alternative

Switch to WPS Office for a Lightweight Document Experience

While troubleshooting complex Exchange server configurations requires specialized IT administration, managing your daily documents shouldn't be difficult. WPS Office provides a free, lightweight, and highly compatible alternative to Microsoft Office for your everyday productivity needs.

  1. 1. Download WPS Office: Visit the official WPS website and download the free installation package for your operating system.
  2. 2. Install the Application: Run the downloaded installer and follow the simple on-screen instructions to complete the setup process.
  3. 3. Open and Edit Documents: Launch WPS Office to immediately start creating or editing your Word, Excel, and PowerPoint files with full format compatibility.
Free and lightweight Office suite for everyday tasksHigh format compatibility with Microsoft Word, Excel, and PowerPoint filesFamiliar user interface ensuring seamless migration and zero learning curveBuilt-in PDF editing and cloud collaboration features
microsoft office alternative - wps office

Frequently Asked Questions

What causes the 'ExchangeGuid is already in use' error?

This error typically occurs in a hybrid environment when Azure AD Connect attempts to synchronize a user whose Exchange GUID conflicts with another recipient object in Exchange Online. This is often caused by a soft-deleted mailbox or a license removal after a migration.

Can I manually change the on-premises Exchange GUID?

Manually altering the on-premises Exchange GUID is highly discouraged. Doing so can disrupt directory synchronization, cause further provisioning errors, and break the hybrid mail flow.

How do I locate soft-deleted mailboxes in Exchange Online?

You can locate soft-deleted mailboxes by running the 'Get-Mailbox -SoftDeletedMailbox' cmdlet in the Exchange Online PowerShell module. You can filter the results by ExchangeGuid to find the exact match causing the conflict.