Errors about missing parameters when moving only a primary mailbox either to or from Exchange Online
Article
Applies to:
Exchange Online, Exchange Server 2016 Enterprise Edition, Exchange Server 2016 Standard Edition, Exchange Server 2013 Enterprise, Exchange Server 2013 Standard Edition
Original KB number: 3160413
Onboard only a primary mailbox from Exchange on-premises to Exchange Online
You have a hybrid deployment of on-premises Exchange Server and Exchange Online in Microsoft 365. Your primary mailboxes are located in the on-premises environment and archive mailboxes are located in Exchange Online. When you try to move only a primary mailbox from the on-premises environment to Exchange Online by using the Exchange admin center (EAC) in Microsoft 365, you receive the following error message.
Error: MigrationPermanentException
ErrorSummary: You must specify the PrimaryOnly parameter
Cause
The EAC doesn't provide the option to move only a primary mailbox from an on-premises environment to Exchange Online. To do this, you must use the New-MoveRequest cmdlet.
Resolution
To move only a primary mailbox, use the New-MoveRequest cmdlet. Follow these steps:
Note: When you're prompted for credentials, enter your credentials for on-premises Exchange.
Offboard only a primary mailbox from Exchange Online to Exchange on-premises
You have a hybrid deployment of on-premises Exchange Server and Exchange Online in Microsoft 365 where the primary mailboxes and archive mailboxes are hosted in Exchange Online. When you try to offboard only a primary mailbox from Exchange Online to the on-premises environment by using the EAC in Microsoft 365, you receive the following error message.
Error: ParameterValueRequiredPermanentException
ErrorSummary: You must specify the ArchiveDomain parameter
Cause
The EAC doesn't have the option to move only a primary mailbox from Exchange Online to an on-premises environment.
Resolution
To move only a primary mailbox, use the New-MoveRequest cmdlet. Follow these steps:
If you’re an administrator who deploys and manages Microsoft 365 and performs Microsoft 365 tenant-level implementation and administration of cloud and hybrid environments, this certification is designed for you.