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