Hi Rakesh,
You can use logical operators to exclude the tags under all resources:
https://learn.microsoft.com/en-us/azure/governance/policy/samples/pattern-logical-operators
Example:
"policyRule": {
"if": {
"allOf": [
{
"field": "tags['tagName']",
"notEquals": "tagValue"
}
]
},
"then": {
"effect": "deny" // Or "audit" depending on your needs
}
}
Please click "Accept as Answer" if it helps.