Knowledge Base

How to troubleshoot being unable to match mailboxes for migration

Problem:

You are unable to perform mailboxes matching when configuring a migration job in CodeTwo Office 365 Migration. You get the following error message:

The type initializer for 'Microsoft.Online.Administration.Automation.ConnectMsolervice' threw an exception.

Solution:

This issue occurs because the Microsoft Online Services Sign-In Assistant is not installed on your machine. Keep in mind that the Microsoft Online Services Sign-In Assistant is one of the components that is required for CodeTwo Office 365 Migration to work properly and is installed together with our migration software. However, once you uninstall the sign-in assistant from your machine, you need to install it again manually.

To fix the problem described in this article, follow these steps:

  1. Close CodeTwo Office 365 Migration.
  2. Download and install Microsoft Online Services Sign-In Assistant for IT Professionals RTW.
  3. Run CodeTwo Office 365 Migration again.

You should now be able to run automatic mailbox matching.