As an Azure beginner, I am attempting to configure a basic Ubuntu VM. I started with creating an account by drilling in from the http://azure.microsoft.com page's "Try it for free" link. I successfully created an account and can see the admin console at https://portal.azure.com. I then installed the latest node.js based CLI (0.10.1 on Mac OS X).
I downloaded a .publishsettings file using azure account download
and successfully loaded it with azure account import
. I can now see my account when I azure account list
(the name is "Free Trial" and Current is "true").
I then put the CLI into resource manager mode via azure config mode arm
. This is because my goal is to create my basic VM using this 101-vm-simple-linux resource manager template. To do so, I am following along with the instructions at Resource Manager template walkthrough.
My attempts to use the azure command line tool yield this error:
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'
When I do as requested, I get essentially the same error message from the login command itself:
% 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
Can somebody tell me how I can successfully login with the Azure CLI so that I can continue?