Management

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 786 other subscribers

Social

  • LinkedIn
  • RSS Feed for Posts
  • Twitter
  • StumbleUpon

[Solved] Create archive mailbox in Hybrid envoriment

The week I had a migration, from Exchange 2010 to Office 365 in a hybrid environment.

Some users were migrated to Office 365, most of the users, where located in the local Exchange.

The local users had no online archive, the Office 365 users must have an online archive.

When activating the online archive for the Office 365 users, this error is posted:

Error:

The following error occurred during validation in agent ‘Windows LiveId Agent’: ‘Can’t enable the archive for ‘Richard Voogt’ because this user object is synchronized with the on-premises directory. To enable a cloud-based archive mailbox for this user, you must use your on-premises Exchange admin center or Exchange Management Shell.’

Solution 1 :

https://support.microsoft.com/en-us/help/4009935/archive-mailbox-can-t-be-provisioned-or-deprovisioned-after-a-mailbox

Prerequisites:

 

  • The Active Directory Module for Windows PowerShell must be installed on the management computer.
  • The management computer must have .NET 4.0 or a later version installed.
  • The management computer must be domain-joined to the on-premises AD forest of the users who will be managed.
  • The operator must have Account Operator permissions or equivalent rights.
  • The enable-remotearchive.ps1 and disable-remotearchive.ps1 scripts must be on the management computer.

This is the command to activate the online archive:

Enable-remotearchive.ps1 -Identity “rvoogt”

The Archive is available after a short time.

Deprovisioning an archive:

This is the command to deactivate the online archive:

disable-remotearchive.ps1 -Identity “rvoogt”

 

Solution 2 :

Go to the security and compliance console

Select Data governance => Archive => select the user and enable the archive.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.