Events
Microsoft 365 Community Conference
May 6, 2 PM - May 9, 12 AM
Skill up for the era of AI at the ultimate community-led Microsoft 365 event, May 6-8 in Las Vegas.
Learn moreThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Original KB number: 4009935
After a mailbox that does not have an archive is migrated to Microsoft Office 365 Dedicated/ITAR vNext, you cannot add an archive to the mailbox. You also cannot deprovision an archive from a mailbox that was migrated from Dedicated.
If you try to provision an archive by using Exchange Admin Center or Remote PowerShell through enable-mailbox
, you receive the following error message:
The following error occurred during validation in agent 'Windows LiveId Agent': 'Can't enable the archive for 'John' 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.'
When Exchange Online is deployed in a hybrid topology, the system expects all management to be performed through an on-premises Exchange installation. This enables the on-premises directory and the online directory to remain in sync.
Many Dedicated users don't have Exchange Server installed on-premises. But the act of migrating from Dedicated causes the objects to function as though they are part of a hybrid deployment. Although having some Exchange deployment on-premises is recommended for management in order to facilitate an easier migration and lower overall costs, installing Exchange on-premises for the vNext transition is not required. Therefore, some customers may be unable to manage archives for mailboxes that were migrated from Dedicated.
Note
This does not apply to users who are provisioned directly into vNext.
After a migration, managing archives for mailboxes that were migrated from Dedicated can be performed with scripts that emulate the functionality of an on-premises Exchange deployment.
Determine the value for the 'name' property of the user being managed. This step will be passed as the value for the -Identity parameter of the script.
Start PowerShell with the Active Directory Module for Windows PowerShell enabled.
Run the following script:
Enable-remotearchive.ps1 -Identity 'John'
Wait for Microsoft Entra Connect to synchronize the changes.Optional: The ArchiveName parameter specifies the name of the archive mailbox. This is the name displayed to users in Outlook and Outlook Web App (OWA). If you don't use this parameter, the default value is In-Place Archive - <Mailbox_User_Display_Name>.
Determine the value for the 'name' property of the user being managed. This step will be passed as the value for the -Identity parameter of the script.
Start PowerShell with the Active Directory Module for Windows PowerShell enabled.
Run the following script:
disable-remotearchive.ps1 -Identity 'John'
Wait for Microsoft Entra Connect to synchronize the changes.
Events
Microsoft 365 Community Conference
May 6, 2 PM - May 9, 12 AM
Skill up for the era of AI at the ultimate community-led Microsoft 365 event, May 6-8 in Las Vegas.
Learn moreTraining
Module
Explore archiving and records management in Microsoft 365 - Training
This module examines how Microsoft 365 supports data governance by enabling organizations to archive content by using archive mailboxes, and manage their high-value content for legal, business, or regulatory obligations by implementing records management. MS-102
Certification
Microsoft Certified: Windows Server Hybrid Administrator Associate - Certifications
As a Windows Server hybrid administrator, you integrate Windows Server environments with Azure services and manage Windows Server in on-premises networks.
Documentation
ArchiveStatus is set to None for an active archive mailbox - Microsoft 365
In some scenarios, the ArchiveStatus property may be set to None even though you enabled an active archive for a user's mailbox in Microsoft 365.
Archive mailbox issues for a mailbox that's migrated to or from Microsoft 365 - Microsoft 365
Describes archive mailbox issues for a mailbox that's migrated to or from Microsoft 365. Provides a resolution.
Describes that you receive an error message when you try to enable or disable an archive mailbox for an existing Exchange Online user or move a mailbox from Exchange Online to an on-premises environment.