We are trying to use Enterprise Scale AzOps to deploy custom policy to inherit tags from Subscription to Resource Groups and resources.
We have used the build-in policy "b27a0cbd-a167-4dfa-ae64-4337be671140" and changed the mode to "All" instead of "Indexed".
We are getting below error while creating the custom policy definition using AzOps.63219-policydef-inherittag-tenantparameters.txt63320-policydef-inherittag-tenant.txt
{"code":"DeploymentFailed","message":"At least one resource deployment operation failed.
"details":[{"code":"InvalidTemplate","message":"Unable to process template language expressions for resource '/providers/Microsoft.Management/managementGroups/mg-interikeapreprod/providers/Microsoft.Authorization/policyDefinitions/InheritTag-Tenant' at line '25' and column '9'. 'The deployment metadata 'SUBSCRIPTION' is not valid.'"}]}