Is it possible to substitute output variables from a powershell tasks within config transforms? For example:
In one task, I’m getting a connection string from an azure powershell script and on a deploy task I am wanting to transform the config to substitute the output variable from the azure task.
My config file looks like this:
I can notice that all variable substitutions happen fine before this, but on or after this variable instance it doesn’t substitute which makes me believe my syntax is incorrect. (However, this is the same variable syntax that can be used in subsequent powershell scripts.
Am I missing something here? Alternatively, is there any way I could update the tenant variable so I don’t have the rely on output variables or possibly running the azure powershell script every deployment.