ISSUE: Mailbox Migration step error 'Invalid JSON primitive'
Last modified:
Overview
The error below may occur when a user mailbox migration step is initiated.
Execute_HYBRID_MoveMailboxToO365: An error occurred during Exchange Online Powershell | Invalid JSON primitive: Service. | Result: Not received [ProcessResult]
The following line can be found in the Endpointhost.log file
2023-03-13T13:02:23|ERROR|192.168.21.254|T:752|StepBase | |BH1.mydomain.com_EXC|629 |45eb265f-c0aa-4096-8c10-0561526b2a44| |95daac39-6e44-4cf7-bf6d-e0db4857a119|Error during ProcessResult method for step HybridMoveMailboxToO365. Details: Execute_HYBRID_MoveMailboxToO365: An error occurred during Exchange Online Powershell | Invalid JSON primitive: Service. | Result: Not received
Additionally, the full error can be found in the Exchange log
2023-03-13T13:02:48|ERROR|192.168.21.254|T:1022|Execute_HYBRID_MoveMailboxToO365 |user123@mydomain.com ||629 |45eb265f-c0aa-4096-8c10-0561526b2a44| ||Create Move Request Failed
EXCEPTION: System.Exception: Execute_HYBRID_MoveMailboxToO365: An error occurred during Exchange Online Powershell | Invalid JSON primitive: Service. | Result: Not received
The root cause is undetermined since the solution, in this case, was to Restart the step. It is worth mentioning a large batch of users was initiated at the same time and perhaps too many concurrent mailbox move requests were made.
Solution
Select the failed user(s) and choose the 'Restart' option.