Deploy to Azure Web app replace config feature


We have set step deplot to azure web app, and we using the configuration variable feature to repleace
in web config. the problem is that during the deployment it seems that it looks on all config files
on the web app.

How to narrow the feature so it will replace only the web.config


Hi, thanks for reaching out.

To narrow down the files that are scanned for variables replacements, you can enable the Substitute Variables in Files feature instead of the Configuration variables feature.

The configuration for the Substitute Variables in Files feature allows you to target a very specific subset of files (or in your case, just the single web.config file).

You can find additional documentation on this feature at

Matthew Casperson