繁体   English   中英

Azure Devops - Pipeline 无权使用引用的服务连接

[英]Azure Devops - Pipeline does not have permissions to use the referenced service connection

在我的 yaml 管道中,当我尝试使用服务连接部署到应用服务时出现以下错误。

##[error]Pipeline does not have permissions to use the referenced service connection(s) MyServiceConnectionName. For authorization details, refer to https://aka.ms/yamlauthz.

过去,当我遇到类似的身份验证错误时(在初始管道设置期间),有一个按钮可以授权管道使用服务连接。 这个按钮似乎已被删除。

现在可以通过使用服务连接安全页面来配置对服务连接的管道权限。 https://docs.microsoft.com/en-us/azure/devops/pipelines/library/service-endpoints?view=azure-devops&tabs=yaml#secure-a-service-connection

在此处输入图片说明

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM