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 (220.127.116.11) 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?