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: Open PowerShell as an administrator. Run the following command to install the Azure Active Directory PowerShell module: Install-Module AzureAD If prompted to install the NuGet […]