Hi All,
I am trying to audit if the partition is enabled or not using azure policy. But it is not listing the resources either in compliance or Non-compliance.
Policy Rule :
"policyRule": {"if": {"allOf": [ {"field": "type","equals": "Microsoft.ServiceBus/namespaces/topics" }, {"anyOf": [ {"field": "Microsoft.ServiceBus/namespaces/topics/enablePartitioning","exists": "false" }, {"field": "Microsoft.ServiceBus/namespaces/topics/enablePartitioning","equals": "false" } ] } ] },"then": {"effect": "audit" } }