Error Enabling Online Archive for an Office 365 Hybrid Migrated Mailbox
I am running into a problem trying to enable Online Archive for a migrated mailbox and getting this error:
[PS] C:\Windows\system32>Enable-RemoteMailbox smcneill -Archive
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.1 (8.0.535.0).
+ CategoryInfo : NotSpecified: (0:Int32) [Enable-RemoteMailbox], InvalidObjectOperationException + FullyQualifiedErrorId : 55181214,Microsoft.Exchange.Management.RecipientTasks.EnableRemoteMailbox
The environment I am working in is a Exchange 2007 on-premises with a Exchange 2010 SP2 (RU1) Hybrid server. The mailbox move to O365 works fine and so does ADFS SSO. Researching this seems that the only fix is to disable and then re-enable the remotemailbox, but this wipes the exchange info requiring the remote email address (and probably the LegacyDN) to be reset. This to me is not the best option.
When I look on the Mailbox online it has the proper version, so this appears to be a problem with the Migration process or DirSync not writing back the correct version to the RemoteMailbox object.
Any other thoughts on this?
Do a
$mb = get-mailbox smcneill
$mb|fl ExchangeVersion
If you get back a result, then you have an on-premise mailbox that has an identity of smcneill
Identity being: GUID, DN, Domain\Account, Userprincipalname,smtpaddress, or alias
This can happen if you have migrated a mailbox, then removed the mail attributes on-premise, then add a mailbox to the account. Possibly some other scenarios. Perhaps if you post your result and also do a get-mailbox smcneill, while connected to your powershell connected to Office 365….as you probably know you do this by going into regular powershell, no additional modules loaded and run:
$Cred = Get-Credential -Credential
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $Cred -Authentication Basic -AllowRedirection
Import-PSSession $Session
Mike,
I did migrate the mailbox (was originally on a Exchange 2007 MB server) via a hybrid deployment and did not remove the mail attributes. This actually happened for all migrated mailboxes. I found a way to fix this http://office365evangelist.com/2012/03/30/fix-for-enabling-online-archive-in-office-365-hybrid-deployment/