last sync: 2025-May-30 17:23:33 UTC

Deploy hybrid use for SQL PaaS

Community Policy definition

Source Repository Community-Policy GitHub
JSON Community-Policy GitHub
Deploy policy ef304f71-9431-4a7d-86b5-e318b0262e4e (1.0.0) to Azure
Display name Deploy hybrid use for SQL PaaS
Id ef304f71-9431-4a7d-86b5-e318b0262e4e
Version 1.0.0
Details on versioning
Category SQL
Microsoft Learn
Description This Policy will enable HUB for Azure SQL. It does not work for Elastic Pools or SQL MI.
Mode All
Type Custom Community
Effect Default
DeployIfNotExists
Allowed
DeployIfNotExists, AuditIfNotExists, Disabled
RBAC role(s)
Role Name Role Id
Owner 8e3af657-a8ff-443c-a75c-2fe8c4bcb635
Rule aliases IF (2)
Alias Namespace ResourceType Path PathIsDefault DefaultPath Modifiable
Microsoft.Sql/servers/databases/currentSku.name Microsoft.Sql servers/databases properties.currentSku.name True False
Microsoft.Sql/servers/databases/currentSku.tier Microsoft.Sql servers/databases properties.currentSku.tier True False
THEN-ExistenceCondition (1)
Alias Namespace ResourceType Path PathIsDefault DefaultPath Modifiable
Microsoft.Sql/servers/databases/licenseType Microsoft.Sql servers/databases properties.licenseType True True
Rule resource types IF (1)
Microsoft.Sql/servers/databases
THEN-Deployment (1)
Microsoft.Sql/servers/databases
JSON
EPAC
Deploy policy ef304f71-9431-4a7d-86b5-e318b0262e4e (1.0.0) to Azure