ISSUE: Mailbox Move step fails with error 'Provider type not defined'
Last modified:
Overview
During the Mailbox Migration step, an error will occur in the UI with details as such:
'Provider type not defined'
Unfortunately, the error does not provide sufficient info. The actual error can be found in the Exchange log on the backend. The full error is:
Initialization of ExchangeOnlineV2 PowerShell sessions is in progress. [2/3] sessions created.
2023-02-06T19:45:31|INFO |192.168.21.254|T:232|PsBaseWrapper |user@domain.com ||87 |ae159949-734a-4f52-8541-758272821ad6| ||Initializing Session 2 for ExchangeOnlineV2]
2023-02-06T19:45:32|ERROR|192.168.21.254|T:232|PsBaseWrapper |user@domain.com ||87 |ae159949-734a-4f52-8541-758272821ad6| ||Initialization failed for admin@yourdomain.onmicrosoft.com|ExchangeOnlineV2
EXCEPTION: System.Management.Automation.RuntimeException: An error occurred while creating the pipeline. ---> System.Runtime.InteropServices.COMException: Provider type not defined. (Exception from HRESULT: 0x80090017)
Solution
This error seems to be erroneous in that, it is not consistent if you Restart the job. It may occur more than once, but eventually will get past the error and proceed.
This error requires further investigation to determine the root cause.