是否可以在我的发布管道中使用Azure经典服务连接来部署App Service?

时间:2020-06-17 01:21:26

标签: azure azure-devops

这是此问题(Is it possible to use DevOps to deploy to an Azure App Service if I don't have access to Azure Active Directory?)的后续问题,如果我无法为我的租户访问Azure AD,则无法创建服务连接。

标准服务连接创建服务主体,如果无法访问Azure AD,则无法完成。因此,我试图查看是否可以创建一个Azure经典服务连接。

我似乎能够创建服务连接,并且已经验证并保存了它。

enter image description here

但是,它没有出现在“部署Azure App Services”任务的下拉列表中。

enter image description here

我做错什么了吗?我正在一个免费试用租户上尝试此操作,我确实可以访问Azure AD。我找不到任何文档说明服务连接不能是Azure Classic。

如果这是对管道的限制,是否可以在没有Azure AD访问的情况下部署到Azure中的应用程序服务?

1 个答案:

答案 0 :(得分:1)

否,Azure App Service部署任务不支持经典服务连接。

来自docs

该任务不适用于Azure Classic服务连接,并且不会在任务设置中列出这些连接。