When configuring the On Demand Migration for Email (ODME) Portal Connection Settings for Office 365, you may experience the following error when using the Test Connection feature:
Invalid Mailbox (Unable to retrieve folders): Object reference not set to an instance of an object