Failed to sync the ArchiveGuid of mailbox GUID because one cloud archive GUID exists
How to fix Office 365 error - Failed to sync the ArchiveGuid 00000000-0000-0000-0000-000000000000 of mailbox GUID because one cloud archive GUID exists
Office 365 Exchange Online mailbox error:
Exchange: Failed to sync the ArchiveGuid 00000000-0000-0000-0000-000000000000 of mailbox GUID because one cloud archive GUID exists..; Exchange: An unknown error has occurred.
- This error is caused by a mismatch between the on-premises and Exchange online values for the archive mailbox guid
- The fix is to get the archive mailbox details from Exchange online and update them in the AD user object on-premises
You might also see the error - We are preparing a mailbox for the user
Reference:
by Author
Validation errors for a mailbox archive GUID for Microsoft 365 users
https://docs.microsoft.com/en-us/exchange/troubleshoot/administration/validation-errors-for-mailbox-archive-guid
Steps to fix - Failed to sync the ArchiveGuid of mailbox
1. Get the users Exchange online archive details
Run the Get-Mailbox PowerShell command to get details of the users Exchange online archive
# Connect to Exchange online Connect-MsolService # Get the users Exchange online archive details Get-Mailbox user@domain.com | FL Archive*
Note the ArchiveGuid and ArchiveName
2. Convert the archive guid to hexadecimal
Use this PowerShell to convert the ArchiveGuid to a hexadecimal value
Replace "ArchiveGuid" with the archive mailbox guid from step 1
e.g. "72452cd5-1b8b-4d78-95f9-f384698cfa65"
[system.guid]$guid = "ArchiveGuid" ($Guid.ToByteArray() | foreach { $_.ToString('x2') }) -Join ' '
Copy the hexadecimal value
e.g. d5 2c 45 72 8b 1b 78 4d 95 f9 f3 84 69 8c fa 65
3. Update the users Exchange online archive details in Active Directory
AD Users and Computers - AD user object - properties
Attribute Editor - check the mailNickname has been set
Edit msExchArchiveGUID and copy the hexadecimal value of the archive guid from step 2
Edit msExchArchiveName and copy the ArchiveName without the brackets from step 1
e.g. {In-Place Archive -Firstname Lastname}
Edit msExchRemoteRecipientType and set the value to 3
Remote Recipient Type value 3 is ProvisionMailbox, ProvisionArchive
4. Run AD connect directory sync
Run the following PowerShell command from your AD connect server to sync the changes to Office 365
Start-ADSyncSyncCycle -PolicyType Delta
Comments