Need help to build a policy to deny sql database that has Transparent Data Encryption disabled

Hoang Nguyen 1 Reputation point
2020-08-21T21:04:13.817+00:00

there is a build-in azure policy name "Transparent Data Encryption on SQL databases should be enabled"
With definition ID: /providers/Microsoft.Authorization/policyDefinitions/17k78e20-9358-41c9-923c-fb736d382a12
But this policy only support 2 effect
"AuditIfNotExists",
"Disabled"
I need to build a policy has deny effect to deny sql database that has Transparent Data Encryption disabled, I'm trying to base on above policy but can't find a solution.
Please help

Azure SQL Database
Azure Policy
Azure Policy
An Azure service that is used to implement corporate governance and standards at scale for Azure resources.
798 questions
{count} votes