Azure无效的发布设置文件

为了连接和debuggingAzure网站上的node.js程序,我需要使用publishSettings文件。 当我从Azurepipe理控制台下载一个,并尝试导入它时,我得到以下内容:

c:\>azure account import "MyServices.azurewebsites.net.PublishSettings" info: Executing command account import error: Invalid publishSettings file. Use "azure account download" to download publishing credentials. info: Error information has been recorded to azure.err error: account import command failed 

当我尝试使用“azure帐户下载”命令时,它会打开一个浏览器窗口,然后从azurepipe理系统给我一个500错误。

当我尝试从Azure PowerShell命令执行此操作时,也会发生同样的情况。

谢谢

这有些令人困惑,但是您尝试使用的publishSettings文件是Azure网站的特定发布设置,而实际需要Azure帐户的发布设置。

你可以从这里得到它: https : //windows.azure.com/download/publishprofile.aspx

azure account download也是正确的,不知道为什么你得到一个500。

你正在使用哪个版本的xplat-cli和PowerShell?

“MyServices.azurewebsites.net.PublishSettings”看起来像网站发布configuration文件,这不是我们需要在这里订阅发布设置文件。 但是这个命令应该引导你到正确的地方去获取它们。

你可以尝试去https://management.windowsazure.com/publishsettings/index直接获取文件? 这是我们在命令中使用的URI。

如果你能让我知道什么是xplat-cli或者PowerShell引导你的URI,那将是非常好的。

谢谢。

我鼓励你提交技术支持票。 为了做到这一点,您可以: