title: Loop through variables in variable group in Azure Pipelines
body: <p>In an <code>azure-pipelines.yml</code> file, how do I enumerate all variables defined in a &quot;Variable Group&quot; created in the UI?</p>
  <p><a href="https://i.stack.imgur.com/YnJoT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YnJoT.png" alt="Variable group" /></a></p>
  <p>I'd like to do this so I can write these variables to a <code>.env</code> file in the pipeline build stage.</p>