When connecting to your Office 365 services, you might get the below error saying for any Msol cmdlet like new-msoluser, connect-msolservices and other.
The term 'Get-MsolUser' is not recognized as the name of a cmdlet
To fix this, download and install the Microsoft Online Services Sign-In Assistant for IT Professionals RTW which can be downloaded from this link.
After the installation you can check the installation of the assistant from your control panel. After that open a PowerShell window As Administrator and type.
Install-Module MSOnline -Force
Once done, enter the below
Sign in with your global admin account and presto!