Azure File Transformation Task doesn't work for variable name with hyphen

Azure File Transformation Task | Azure Devops YAML Pipeline

Sanjeevi Subramani's photo
Sanjeevi Subramani

Published on Oct 20, 2021

1 min read

Subscribe to my newsletter and never miss my upcoming articles

Read this article on how to implement File Transformation Task implementation:

In some scenarios YAML File transformation task fail to update the variable values inside the json/xml file even though we have variables with same name matches.

One of those scenarios is that when we have hyphen in the variable name matching text then it doesn't work.

This doesn't work.


Try to change those variables without any special characters then it will work fine.

This will work if you have


variable in pipeline variables and have following sample json in configuration json.

Share this