Trying to use Azure API "NameValue" variable within another variable.
//NameValue variable 1
Namedvalue_URL_Name: sts://domain.com
//NameValue variable 2 that using above variable within.
Namedvalue_withinNameValue_Name:
@{
var u = "{{Namedvalue_URL_Name}}";
return u;
}
Azure Policy:
<set-variable name="var" value={{Namedvalue_withinNameValue_Name}}/>
response return for the value (string)context.Variabls["var"]
as
"{{Namedvalue_URL_Name}}"
but expected result as sts://domain.com
.
Starting 28-11-2018, we are facing an issue where in liquid templates are not able to resolve the NameValues.
Code what we have: Here ProcessAccountId is NameValue pair with value "Username"
it is resolving to below where NameValue is replaced with empty string.