In hybrid environment, You might receive following errors when you try to enable archiving from Office365.

archive

If you run Enable-Mailbox user-15 -Archive:$true through Powershell you may receive error message as below:

“The following error occurred during validation in agent ‘Windows LiveId Agent’: ‘Unable to perform the save operation. ‘Kingson Jebaraj’ is not within a valid server write scope.

Since it is referring about scope do not get confused with RBAC, all we need to do is to enable archiving from Exchange On-premise and then do force dirsync.

To enable using Exchange 2013 EAC:

  1. Open the EAC ->Click “Recipients” -> Mailboxes
  2. Select the mailbox for which archiving to be enabled
  3. Click Enable under In-Place Archive -> Yes.

To enable using Exchange 2010 ECP:

  1. Open EMC
  2. Expand Recipient Configuration -> click Mail Contact.
  3. Right-click the contact for which archiving to be enabled,
  4. Click Enable Hosted Archive.

Using Exchange Management Shell (EMS)

For single mailbox:

Enable-RemoteMailbox -Identity “Kingson Jebaraj” –Archive

For all Mailboxes in Office365:

Get-RemoteMailbox -ResultSize Unlimited -Filter {(RecipientTypeDetails -eq ‘RemoteUserMailbox’)} | Enable-RemoteMailbox -Archive

Make sure your outlook version/ subscription meets requirement for In-Place archive, Refer here

 

By Kingson Jebaraj

Microsoft MVP, Blogger, Owner and Publisher for Cloudexchangers.com, Microsoft TechNet Author, Solution Architect, Former Office365 Technical Lead for Microsoft(Partner) Extensive knowledge and experience in Microsoft Exchange and Cloud Messaging Services and has got more exposure on Messaging environment deployment,migration,designing and other project management activities, I have earned real time experience in handling multi-site distributed critical large environment of messaging system. Been awarded as an MVP (Microsoft Most Valuable Professional) for Office Servers and services from Microsoft for an exceptional real world contribution made through Microsoft forums and other Microsoft communities. Currently working as “Solution Architect” on Private/Public cloud and SaaS environment for Pacific Controls, UAE, Dubai. One of the largest TIER III certified green data center campus in the middle east.

2 thoughts on “Enable Archive Mailbox in Exchange Hybrid”

Comments are closed.