I can't even queue a run so there's no failed run to access the button
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
@mydiemho -- My, have you tried these instructions? If that doesn't answer your question, try:
I am closing this issue now. You are welcome to @ mention me for any followup.
We hope to hear from you again.
@WilliamAntonRohm Generally trying to understand the issue before closing is helpful.
@Sureiya -- Chris, thanks for your feedback; we appreciate it. To make sure we have all the information needed to triage your issue, please provide more context around the general task.
Found this issue while running into the same problem. I ran into the problem from the following scenario.
Given an existing pipeline with trigger: none set, and variable group with Allow access to all pipelines disabled,
When I add the variable group to a pipeline via text editor and push the code,
Then when I go to Queue I receive the
An error occurred while loading the YAML build pipeline. Variable group was not found or is not authorized for use. For authorization details, refer to https://aka.ms/yamlauthz. error message and no button to fix.
This seems related to #4643.
My two workarounds:
It's a little disappointing to see these issues open for so long with what seems to be a pretty straightforward work flow being missed in docs or resolved via UI update.
As an additional update, the documentation seems to be written for building a brand new pipeline. When saving/running a new pipeline for the first time, you do get the failed build with "Authorize Resource" button.
Observing the same as @beavel
Adding @ashokirla for variable group authorization.
I'm also seeing the same as beavel. The workarounds above do not work for me, however. I'm currently stuck with no way to run the build.
Thanks for your feedback. Support for variable group authorization in our current backlog and will start the implementation very soon.
@shashban to keep note.
Im not sure if this is directly related to your issue, but there appears to be some ui/documentation wonkiness about authorizing pipelines. This is especially useful to know if you are getting an "missing pool" type error.
Project Settings -> Agent Pools -> Security allows you to grant access to all pipelines
Organization Settings -> Agent Pools -> Security does not appear to.
This issue hasn't been updated in more than 180 days, so we've closed it. If you feel the issue is still relevant and needs fixed, please reopen it and we'll take another look. We appreciate your feedback and apologize for any inconvenience.
Most helpful comment
Found this issue while running into the same problem. I ran into the problem from the following scenario.
Given an existing pipeline with
trigger: noneset, and variable group withAllow access to all pipelinesdisabled,When I add the variable group to a pipeline via text editor and push the code,
Then when I go to Queue I receive the
An error occurred while loading the YAML build pipeline. Variable group was not found or is not authorized for use. For authorization details, refer to https://aka.ms/yamlauthz.error message and no button to fix.This seems related to #4643.
My two workarounds:
It's a little disappointing to see these issues open for so long with what seems to be a pretty straightforward work flow being missed in docs or resolved via UI update.