We are using a Project Variable Template to specify the Azure Account to use for a particular deployment however, we are unable to access any of the variable properties (e.g. SubscriptionNumber or TenantId). When using a Project variable to specify the Azure Account the substitution works.
Project Template:
Project Variables using the tenant variable:
Deployed config:
{
"Azure": {
"SubscriptionId": "#{Tenant.Azure.Account.SubscriptionNumber}",
"TenantId": "#{Tenant.Azure.Account.TenantId}"
}
}
We suspect this is due to the variable not being treated as an Azure Account when configured within the tenant.
We have attempted to access these variables as additional tenant level variables but the end result is the same.
Is this scenario supported? Ideally we’d like to be able to configure a single variable to specify the Azure account and have everything else hang off it.