Windows Azure SDK返回未知的AccountType:未定义

我试图通过OSX上的Windows Azure SDK进行登录。 但我无法登录,因为登录时出现错误:“服务器返回了未知的AccountType:未定义”。 我的Azure帐户是带有MSDN的Visual Studio Premium。 此外,该帐户还有支出限制,但我可以在Azure门户上创建网站。 你能告诉我什么是错的吗?

我的工作在这里:

$ azure -v  
0.8.2  
$ azure login  
info:    Executing command login  
Username: MY_AZURE_ACCOUNT  
Password: **********  
If you choose to continue, Azure command-line interface will cache your authentication information. Note that this sensitive information will be stored in plain text on the file system of your computer at /Users/awwa/.azure/azureProfile.json. Ensure that you take suitable precautions to protect your computer from unauthorized access in order minimize the risk of that information being disclosed.  
Do you wish to continue: (y/n) y  
+ Authenticating...                                                            
error:   Server returned an unknown AccountType: undefined  
info:    Error information has been recorded to azure.err  
error:   login command failed  

azure.err在这里:

Wed Apr 30 2014 21:40:30 GMT+0900 (JST):  
{ [Error: Server returned an unknown AccountType: undefined]  
  stack: [Getter/Setter],  
  __frame:   
   { name: '__7',  
     line: 171,  
     file: '/usr/local/azure/lib/commands/account.js',  
     prev: undefined,  
     active: false,  
     offset: 35,  
     col: 31 },  
  rawStack: [Getter] }  
Error: Server returned an unknown AccountType: undefined  
    at Logger.createError (/usr/local/azure/node_modules/adal-node/lib/log.js:196:13)  
    at /usr/local/azure/node_modules/adal-node/lib/token-request.js:366:35  
    at UserRealm._parseDiscoveryResponse (/usr/local/azure/node_modules/adal-node/lib/user-realm.js:234:3)  
    at /usr/local/azure/node_modules/adal-node/lib/user-realm.js:263:12  
    at Request._callback (/usr/local/azure/node_modules/adal-node/lib/util.js:116:5)  
    at Request.self.callback (/usr/local/azure/node_modules/adal-node/node_modules/request/request.js:121:22)  
    at Request.EventEmitter.emit (events.js:98:17)  
    at Request.<anonymous> (/usr/local/azure/node_modules/adal-node/node_modules/request/request.js:978:14)  
    at Request.EventEmitter.emit (events.js:117:20)  
    at IncomingMessage.<anonymous> (/usr/local/azure/node_modules/adal-node/node_modules/request/request.js:929:12)  
    at IncomingMessage.<anonymous> (/usr/local/azure/node_modules/adal-node/node_modules/request/request.js:929:12)  
    at __7 (/usr/local/azure/lib/commands/account.js:206:31)  


天蓝色的登录方法仅适用于组织帐户。 如果您使用MSAccount,则应使用“azure帐户导入”和.publishsettings文件。

另见:http://azure.microsoft.com/en-us/documentation/articles/xplat-cli/

链接地址: http://www.djcxy.com/p/24365.html

上一篇: Windows Azure SDK returns unknown AccountType: undefined

下一篇: Windows Azure SDK not found by Visual Studio 2012