简体   繁体   English

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

[英]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.

相关问题 Azure DevOps Pipeline - 服务连接权限 - Azure DevOps Pipeline - Service Connection Permission Azure devops 服务连接和中心管道 - Azure devops service connection and central pipeline 带有模板的 azure devops yaml 管道不会检出引用的存储库 - azure devops yaml pipeline with template does not checkout referenced repository Azure DevOps Pipeline 更改服务结构应用程序的证书权限 - Azure DevOps Pipeline changing certificate permissions for service fabric application Azure 管道工件的 DevOps 权限 - Azure DevOps Permissions on Pipeline Artifacts 创建服务连接并在 azure devops 多阶段 yaml 管道的下一阶段使用相同的连接 - Create service connection and use the same in next stage of azure devops multi stage yaml pipeline Azure DevOps 服务连接是否需要提升权限? - Do Azure DevOps Service Connection need elevated permissions? 无法在 Azure DevOps 发布管道任务中更改服务连接 - Can't change service connection in Azure DevOps release pipeline task Azure Devops 权限服务连接到特定发布管道 - Azure Devops Permission Service Connection to specific Release Pipeline Github企业服务连接在Azure DevOps版本管道工件中不可用 - Github Enterprise Service Connection not available in Azure DevOps Release Pipeline Artifacts
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM