Login-AzureRmAccount : The term 'Login-AzureRmAccount' is not recognized as the name of a cmdlet, function, script Login-AzureRmAccount : The term 'Login-AzureRmAccount' is not recognized as the name of a cmdlet, function, script powershell powershell

Login-AzureRmAccount : The term 'Login-AzureRmAccount' is not recognized as the name of a cmdlet, function, script


You need to Update to a new version of Azure PowerShell.

  • Use the Command:

Install-Module AzureRM -AllowClobber

Reference Article: https://docs.microsoft.com/en-us/powershell/azure/install-azurerm-ps


You could use the latest Azure Power Shell version from the link.

Notes: Please install 3.7.0 version.

enter image description here


For me, Install-Module was not recognized, and I already had Azure 3.7 installed, the answer was to install Azure CLI 2.0 for Windows