Closed jaredfholgate closed 2 weeks ago
I get this error when trying to deploy the policy set. Investigating...
Bad Request({"error":{"code":"InvalidPolicyParameters","message":"A function or parameter in policy set or assignment 'Deploy-Private-DNS-Zones' associated with the policy definition '06695360-db88-47f6-b976-7500d4297475' could not be validated. If using template functions, try following the tips in: https://aka.ms/policy-avoiding-template-failures. The inner exception 'The language expression property '' doesn't exist, available properties are 'uaenorth, northcentralus, malaysiawest, eastus, uksouth, westcentralus, israelcentral, southeastasia, malaysiasouth, koreacentral, northeurope, australiaeast, southafricanorth, norwaywest, norwayeast, westus3, eastus2euap, centralus, mexicocentral, canadacentral, japaneast, swedencentral, taiwannorth, germanynorth, centralindia, westindia, newzealandnorth, australiacentral, ukwest, germanywestcentral, brazilsouth, francecentral, brazilsoutheast, westus2, eastus2, centraluseuap, australiacentral2, francesouth, southafricawest, koreasouth, southindia, canadaeast, qatarcentral, spaincentral, westeurope, japanwest, southcentralus, polandcentral, switzerlandwest, australiasoutheast, switzerlandnorth, italynorth, uaecentral, eastasia, chilecentral, westus, swedensouth'.'."}})
I get this error when trying to deploy the policy set. Investigating...
Bad Request({"error":{"code":"InvalidPolicyParameters","message":"A function or parameter in policy set or assignment 'Deploy-Private-DNS-Zones' associated with the policy definition '06695360-db88-47f6-b976-7500d4297475' could not be validated. If using template functions, try following the tips in: https://aka.ms/policy-avoiding-template-failures. The inner exception 'The language expression property '' doesn't exist, available properties are 'uaenorth, northcentralus, malaysiawest, eastus, uksouth, westcentralus, israelcentral, southeastasia, malaysiasouth, koreacentral, northeurope, australiaeast, southafricanorth, norwaywest, norwayeast, westus3, eastus2euap, centralus, mexicocentral, canadacentral, japaneast, swedencentral, taiwannorth, germanynorth, centralindia, westindia, newzealandnorth, australiacentral, ukwest, germanywestcentral, brazilsouth, francecentral, brazilsoutheast, westus2, eastus2, centraluseuap, australiacentral2, francesouth, southafricawest, koreasouth, southindia, canadaeast, qatarcentral, spaincentral, westeurope, japanwest, southcentralus, polandcentral, switzerlandwest, australiasoutheast, switzerlandnorth, italynorth, uaecentral, eastasia, chilecentral, westus, swedensouth'.'."}})
Thanks for testing it. I will take a look too and try to fix it. :)
Overview/Summary
A backwards compatible update to the Deploy-Private-DNS-Zones policy set definition.
This enables passing a subscription id, resource group name and region to automatically generate the resource ids for the policy definitions.
This PR fixes/adds/changes/removes
N/A
Breaking Changes
None, designed to be backwards compatible
Testing Evidence
Please provide any testing evidence to show that your Pull Request works/fixes as described and planned (include screenshots, if appropriate).
Testing URLs
The below URLs can be updated where the placeholders are, look for
{YOUR GITHUB BRANCH NAME HERE - Remove Curly Brackets Also}
&{YOUR GITHUB BRANCH NAME HERE - Remove Curly Brackets Also}
, to allow you to test your portal deployment experience.Azure Public
Azure US Gov (Fairfax)
As part of this Pull Request I have
main
branch/docs/wiki/whats-new.md
)