Fix “Connect-AzureAD : The term ‘Connect-AzureAD’ is not recognized as the name of a cmdlet, function, script file, or operable program.” Error

Problem: When trying to connect to Azure AD from PowerShell, using: “Connect-AzureAD” cmdlet, received an error: “Connect-AzureAD: The term ‘Connect-AzureAD’ is not recognized as the name of a cmdlet, function, script file, or operable program.”

Connect-AzureAD The term Connect-AzureAD is not recognized as the name of a cmdlet, function, script file, or operable program

Solution for Connect-AzureAD not recognized Issue:

Install the Azure AD Module!

  1. Open PowerShell as an administrator, Enter:
    Install-Module AzureAD
    
  2. Confirm the installation by entering “A” – Yes to All.
install azure AD module in powershell

Salaudeen Rajack

Salaudeen Rajack is a SharePoint Architect with Two decades of SharePoint Experience. He loves sharing his knowledge and experiences with the SharePoint community, through his real-world articles!

Leave a Reply