When you try enable archiving on any mailbox hosted on Office 365 (withing hybrid deployment with exchange 2010) , you face the below error
“The following error occurred during validation in agent ‘Windows LiveId Agent’: ‘Unable to perform the save operation. ‘Fayis Khader’ is not within a valid server write scope.”
This problem occurs because recipient management must be performed from the on-premises environment when you’re using Active Directory synchronization.
To resolve this issue, enable archiving for the mailbox from the on-premises Exchange server. To do this, use one of the following methods.
Method 1: Use the Exchange Admin Center or the Exchange Management Console
In Exchange 2013
- Open the Exchange Admin Center.
- Click recipients, and then click mailboxes,
- Click the mailbox that you want to change, click Enable under In-Place Archive, and then click yes.
- Wait for two cycles of directory synchronization to run (about six hours). to force directory synchronization follow this article Force directory synchronization
In Exchange 2010
- Open the Exchange Management Console.
- In the console tree, expand Recipient Configuration, and then click Mail Contact.
- Right-click the contact that you want to change, and then click Enable Hosted Archive.
- Wait for two cycles of directory synchronization to run (about six hours).to force directory synchronization follow this article Force directory synchronization
Method 2: Use the Exchange Management Shell
- Open the Exchange Management Shell, and then run the following cmdlet:
Enable-RemoteMailbox <UserName> -Archive
- Wait for two cycles of directory synchronization to run (about six hours). to force directory synchronization follow this article Force directory synchronization