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.
You can define Named Values as
and then when you refer to the paramB in the policy file
it gives you the value of the paramA