Sunday , January 24 2021

ArchiveGuid can’t be set on this object to enable archive mailbox

Property ArchiveGuid can’t be set on this object because it requires the object to have version 0.10 ( or
later. The object’s current version is 0.0 (6.5.6500.0).
+ CategoryInfo : NotSpecified: (:) [Enable-RemoteMailbox], InvalidObjectOperationException
+ FullyQualifiedErrorId : [Server=EXCH0,RequestId=0339d4a8-db1c-4173-8b68-25276bfd921b,TimeStamp=12/6/20
20 8:41:08 AM] [FailureCategory=Cmdlet-InvalidObjectOperationException] A1D7140F,Microsoft.Exchange.Management.Rec
+ PSComputerName :

Solution –

Enabling the archive mailbox throws an error “ArchiveGuid can’t be set on this object” as the object was not created properly using an on-premises exchange control panel to create an office 365 mailbox. Turned out to be msExchVersion attribute missing. created an office 365 mailbox. went to active directory users and computers found the working value of msExchVersion and applied the same on non-working objects. As msexchversion differs with the version of the on-prem server. mine was an exchange 2016 hybrid server.

Sample Commands to apply msExchVersion attribute on multiple objects.

((Import-Csv .\samacounts.csv) | ForEach-Object {Get-ADUser $_.samaccountname -Properties msexchversion}) | FT Name,msexchversion
Import-Csv .\archive.csv | ForEach-Object{Set-ADUser $_.samaccountname -add @{msExchVersion="88218628259840"} -WhatIf}

About Satheshwaran Manoharan

Satheshwaran Manoharan is an Microsoft Office Server and Services MVP , Publisher of Specialized in Office365 / Microsoft Exchange / Virtualization , Sathesh is an Messaging Expert supporting/Designing/Deploying many medium size businesses to large enterprises when it comes to Corporate messaging and Virtualization Infrastructure

Check Also

Export all distribution Group and all members in Exchange and Office 365

In some situations, we have to Export all the Distribution group/Unified Groups and all the …

Leave a Reply

Your email address will not be published.