[英]Azure Devops - Pipeline does not have permissions to use the referenced service connection
In my yaml pipeline I get the following error when I try to deploy to an App Service using a 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.
In the past when I got similar auth errors (during initial pipeline setup), there was a button to authorize the pipeline to use the Service Connection.过去,当我遇到类似的身份验证错误时(在初始管道设置期间),有一个按钮可以授权管道使用服务连接。 This button seems to have been removed.
这个按钮似乎已被删除。
Pipeline permission to a Service Connection can now be configured through the using the service connection security page.现在可以通过使用服务连接安全页面来配置对服务连接的管道权限。 https://docs.microsoft.com/en-us/azure/devops/pipelines/library/service-endpoints?view=azure-devops&tabs=yaml#secure-a-service-connection
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.