0

我在 mac OS X 上使用 azure 工具。我确实运行了以下命令:

1. $ azure login
2. $ azure account download
3. $ azure import .publishsettings
4. $ azure account set "subscription id"

但现在当我跑步时

$ 天蓝色虚拟机列表

它显示以下错误:

{ [Error: The server failed to authenticate the request. Verify that the certificate is valid and is associated with this subscription.] code: 'ForbiddenError', statusCode: 403 }
Error: The server failed to authenticate the request. Verify that the certificate is valid and is associated with this subscription.
    at Function.ServiceClient._normalizeError (/usr/local/lib/node_modules/azure-cli/node_modules/azure-common/lib/services/serviceclient.js:815:23)
    at /usr/local/lib/node_modules/azure-cli/node_modules/azure-common/lib/services/filters/errorhandlingfilter.js:44:29
    at Request._callback (/usr/local/lib/node_modules/azure-cli/node_modules/azure-common/lib/http/request-pipeline.js:109:14)
    at Request.self.callback (/usr/local/lib/node_modules/azure-cli/node_modules/azure-common/node_modules/request/request.js:199:22)
    at Request.emit (events.js:98:17)
    at Request.<anonymous> (/usr/local/lib/node_modules/azure-cli/node_modules/azure-common/node_modules/request/request.js:1160:14)
    at Request.emit (events.js:117:20)
    at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/azure-cli/node_modules/azure-common/node_modules/request/request.js:1111:12)
    at IncomingMessage.emit (events.js:117:20)
    at _stream_readable.js:944:16
4

1 回答 1

0

问题在于订阅权限。您需要转到https://manage.windowsazure.com并将用户添加为共同管理员,然后在http://portal.azure.com上添加他的所有者。

从http://portal.azure.com添加一个用户并让他成为所有者,单独是行不通的。

于 2016-03-26T05:27:39.253 回答