How to do basic Azure CLI login in Resource Manager mode
<p>As an Azure beginner, I am attempting to configure a basic Ubuntu VM.  I started with creating an account by drilling in from the <a href="http://azure.microsoft.com" rel="nofollow">http://azure.microsoft.com</a> page's "Try it for free" link.  I successfully created an account and can see the admin console at <a href="https://portal.azure.com" rel="nofollow">https://portal.azure.com</a>.   I then installed the latest node.js based CLI (0.10.1 on Mac OS X).</p>

<p>I downloaded a .publishsettings file using <code>azure account download</code> and successfully loaded it with <code>azure account import</code>.  I can now see my account when I <code>azure account list</code> (the name is "Free Trial" and Current is "true").</p>

<p>I then put the CLI into resource manager mode via <code>azure config mode arm</code>.  This is because my goal is to create my basic VM using this <a href="https://github.com/Azure/azure-quickstart-templates/blob/master/101-vm-simple-linux/azuredeploy.json" rel="nofollow">101-vm-simple-linux</a> resource manager template. To do so, I am following along with the instructions at <a href="https://azure.microsoft.com/en-us/documentation/articles/resource-manager-template-walkthrough/" rel="nofollow">Resource Manager template walkthrough</a>.</p>

<p>My attempts to use the azure command line tool yield this error:</p>

<blockquote>
Your current subscription was likely created from a publishsettings file and will not work under arm mode. You can fix it by running either 'azure login' or 'azure accout set'
</blockquote>

<p>When I do as requested, I get essentially the same error message from the login command itself:</p>

<p><code>% azure login -u 'the account id I just signed up with'
info:    Executing command login
Password: ***************
Authenticating... 
error:   Interactive login is required. Use 'azure login' to interactively login.
info:    Error information has been recorded to /Users/kent/.azure/azure.err
error:   login command failed
</code></p>

<p>Can somebody tell me how I can successfully login with the Azure CLI so that I can continue?</p>