Issue
We are trying to run a match to Office 365, and it will not complete successfully stating 'Get-Mailbox' is not recognized as the name of a cmdlet.
When I run the same command from the Azure AD Module outside of Notes Migrator it works successfully.
Based on the log of the PowerShell command, it is connecting to the correct URL for Office 365, https://ps.outlook.com/powershell.
Solution
The connections to Office 365 are being blocked by a firewall, which doesn't allow outbound connections on 80 or 443 if they do not go through their proxy server.
So the additional switches we put into the connection string in PowerShell force it to use the proxy which it then allows.
An exception will need to be put in place for the Migration Control Center(MCC)