简体   繁体   中英

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.

##[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

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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