Home > Blockchain >  Azure Pass variable group to Service connection
Azure Pass variable group to Service connection

Time:01-26

I want to pass/access variable groups linked to my pipeline in my service connection. I cant find any articles or doc showing how to do so.

Is there a different way to dynamically create service connections using variable groups ?

Where I need the variables

enter image description here

where variables are located

enter image description here

CodePudding user response:

No. Service connections cannot be dynamically generated. The service connection reference has to be resolved and validated before the pipeline can even start running.

CodePudding user response:

Update: Since this is classic release the service connection must be known before hand. In YAML this can be loaded at compilation time. The only way I am aware of doing this is via an ADO Variable template file in YAML Pipelines. Here is a link to how to do that

Here is the MS documentation on using custom variables in Classic Releases

  •  Tags:  
  • Related