🔥 3-day streak
Microsoft DevOps Engineer Expert62 / 138
Question 62 of 138

Your team's Azure Pipelines YAML uses templates to generate stages dynamically. A senior engineer wants to conditionally include an entire deployment stage based on a value that a user selects when manually queuing the pipeline, and the stage inclusion logic uses an ${{ if }} expression at the top of the template. The value currently comes from a variable defined in a variable group, but the stage is never generated even when the value matches. What change correctly makes the conditional stage generation work?

Reviewed for accuracy · Report an issueNext question