Quantcast
Channel: Azure Management Portal forum
Viewing all articles
Browse latest Browse all 4189

unable to exclude resource from policy

$
0
0
i wanted to exclude resources from tagging policy (i am unable to create vnet from portal after enforcing below tagging policy to resource group)

{ "mode": "all", "policyRule": { "if": { "not": { "field": "[concat('tags[', parameters('tagName'),']')]", "in": [ "Production", "Development", "Test","UAT", "Staging", "Disaster Recovery" ] } }, "then": { "effect": "deny" } }, "parameters": { "tagName": { "type": "String", "metadata": { "displayName":"Environment", "description": "Name of the tag, such as Environment" } } } }

Viewing all articles
Browse latest Browse all 4189

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>