How to Install and Connect to AzureAD Module for PowerShell?

Installing the Azure AD Module

In this post, we will see how can we install the AzureAD Module which supports the multi-factor authentication.

So to install the AzureAD Module for PowerShell, Open the Powershell as an administrator, and run the following CMD.

Install-Module AzureAD 

This cmd will download and install the module from the PSGalery automatically.

Import-Module AzureAD

Once the Module is installed we need to import the module.

Connect-AzureAD# This CMD will invoke a login pop up for authentication.

After the authentication is done you will see the screen below.

There are 181 CMDs available in this module we will review those CMDs in the future posts.