If you receive an error message that says “Connect-MsolService: The term ‘Connect-MsolService’ is not recognized…”, it means that the Microsoft Azure Active Directory Module for Windows PowerShell is not installed on your computer, or the PowerShell session you are using does not have the module loaded.

Here are the steps to install and import the module: Install-Module AzureAD If prompted to install the NuGet provider, type “Y” and press Enter. Once the module is installed, run the following command to import […]