我在哪里可以在新的Azure门户中下载vNext的* .publishsettings文件?

时间:2017-01-19 11:57:09

标签: azure tfs azure-web-sites vnext

为长期问题道歉,但我认为一些背景在这里很重要。

我正在尝试在TFS中设置一个发布定义,该定义应该通过使用“Azure Web App部署”步骤支持Azure部署(参见图片)。

enter image description here

为此,我需要设置一个服务端点。但是,我在检索此处要求的管理证书方面遇到了问题:

enter image description here

新门户网站(https://portal.azure.com)中似乎有多个地方可以下载* .publishsettings文件,例如:

enter image description here

问题 出于某种原因,所有这些下载都返回* .publishsettings文件,格式如下:

<publishData>
    <publishProfile profileName="XXX" 
                    publishMethod="XXX" 
                    publishUrl="XXX" 
                    msdeploySite="XXX" 
                    userName="XXX" 
                    userPWD="XXX" 
                    destinationAppUrl="XXX" 
                    SQLServerDBConnectionString="" 
                    mySQLDBConnectionString="" 
                    hostingProviderForumLink="" 
                    controlPanelLink="http://windows.azure.com" 
                    webSystem="WebSites">
        <databases />
    </publishProfile>
    <publishProfile profileName="XXX" 
                    publishMethod="XXX" 
                    publishUrl="XXX" 
                    ftpPassiveMode="XXX" 
                    userName="XXX" 
                    userPWD="XXX" 
                    destinationAppUrl="XXX" 
                    SQLServerDBConnectionString="" 
                    mySQLDBConnectionString="" 
                    hostingProviderForumLink="" 
                    controlPanelLink="http://windows.azure.com" 
                    webSystem="WebSites">
        <databases />
    </publishProfile>
</publishData>

我需要的格式不同。我需要一个这种格式的文件:

<?xml version="1.0" encoding="utf-8"?>
<PublishData>
  <PublishProfile
    SchemaVersion="2.0"
    PublishMethod="AzureServiceManagementAPI">
    <Subscription
      ServiceManagementUrl="XXX"
      Id="XXX"
      Name="XXX"
      ManagementCertificate="XXX" />
  </PublishProfile>
</PublishData>

从这个文件中,我可以检索ManagementCertificate值。我已经可以使用https://manage.windowsazure.com/PublishSettings/index?Client=&SchemaVersion=&DisplayTenantSelector=true从旧门户检索它,但在新门户中似乎没有这个地方。它不可用,或者我只是忽略了它?

提前致谢!

2 个答案:

答案 0 :(得分:0)

您好Tybs是否有理由不创建具有管理证书的服务主管,然后您可以使用?在你的截图中有一个关于如何使用Service Principal的链接,正如Guarav所指出的那样是为ARM连接的方式。

https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-group-authenticate-service-principal

答案 1 :(得分:0)

链接已在端点对话框中提供,单击它,您将获得所需的发布设置: filter

相关问题