Login to Azure Resource Manager using Powershell

 

First, some prerequisites:

  1. Install Windows Management Framework 5
  2. In an elevated PowerShell session type:
    1. Install-Module AzureRM
  3. To install RDFE cmdlets, run Install-Module Azure

 

Was a little tricky at first but got it working, this in a Powershell windows, of course

PS C:\>      Add-AzureRmAccount

 

You’ll be challenged with the username/password combination

Also, pay attention to this:

 

Resource Manager modules requires Login-AzureRmAccount. A Publish Settings file is not sufficient.

 

Happy ARM