In hybrid environment, You might receive following errors when you try to enable archiving from Office365.
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:
- Open the EAC ->Click “Recipients” -> Mailboxes
- Select the mailbox for which archiving to be enabled
- Click Enable under In-Place Archive -> Yes.
To enable using Exchange 2010 ECP:
- Open EMC
- Expand Recipient Configuration -> click Mail Contact.
- Right-click the contact for which archiving to be enabled,
- 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
one of the worst and least inaccurate articles on the Internet. Take it down.
Hi, thanks for the feedback. Not sure if you go through the same scenario. Please describe to provide more information.Thanks.