35.4 C
Dubai
Monday, August 2, 2021
spot_img

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 (14.0.100.0) 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
ipientTasks.EnableRemoteMailbox
+ PSComputerName : exch0.azure365pro.com

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}
Satheshwaran Manoharanhttps://www.azure365pro.com
Satheshwaran Manoharan is an Microsoft Office Server and Services MVP , Publisher of Azure365pro.com. 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

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here