A cloud-based data workflow connects a secured database to analytics, with testing and configuration tools.
If you have ever walked into a Monday morning incident review only to discover that a brand-new production database cluster was quietly throwing errors into the void because nobody clicked "Add diagnostic setting," you already understand why cloud governance engineers lose sleep. Microsoft is moving to close that gap for its newest PostgreSQL powerhouse: Azure Policy support for Azure HorizonDB has surfaced in Public Preview, giving platform teams a built-in way to automatically wire HorizonDB cluster diagnostics into a Log Analytics workspace before human forgetfulness strikes.

Before you celebrate and mark every compliance checkbox green, though, there is an important Microsoft bookkeeping quirk to untangle. Depending on which Microsoft page you read this week, the lifecycle label for HorizonDB's Azure Policy support looks either ready for prime time or strictly in preview. For enterprise administrators deciding whether to enforce policies across production subscriptions, separating the marketing headline from what actually exists in the Azure Policy catalog makes all the difference.

A cloud-based data workflow connects a secured database to analytics, with testing and configuration tools. Preview or Generally Available? Untangling Microsoft's Status Labels​

First, let's clear up the label confusion around this rollout. An Azure Updates entry for Azure Policy support on Azure HorizonDB (ID 580115, timestamped November 23, 2026) carries the Public Preview designation, though pulling up that specific update URL on the Azure Updates portal currently drops visitors onto the generic updates index with zero matching records displayed.

Meanwhile, a parallel Ignite-week Azure Updates entry from November 17, 2026 (ID 581180)—captured by Microsoft update trackers—actually titled itself "Generally Available: Azure Policy support for Azure HorizonDB" and wore a "Launched" badge. Yet read the very first sentence of Microsoft's own post under that badge and it tells a different story: "Azure Policy support for Azure HorizonDB is now available in preview, helping you apply governance and observability standards consistently across your HorizonDB deployments."

That internal contradiction is resolved when you look directly inside Microsoft Learn's official Azure Policy built-in policy definitions catalog. Under the HorizonDB section, there is currently one HorizonDB-specific built-in policy definition, and it is unmistakably marked as preview:

Policy Catalog FieldOfficial Value
Name (Azure portal)[Preview]: Deploy Diagnostic Settings for Azure HorizonDB clusters to Log Analytics workspace
DescriptionDeploys the diagnostic settings for Azure HorizonDB clusters to stream to a regional Log Analytics workspace when any Azure HorizonDB cluster which is missing this diagnostic settings is created or updated
Supported EffectsDeployIfNotExists, Disabled
Version (GitHub)1.0.0-preview

In short: while Azure HorizonDB itself and several sibling observability features—such as HorizonDB auditing, Log Analytics integration, alerts, and system-managed maintenance—were announced as generally available during Microsoft Ignite 2026, the actual built-in Azure Policy definition remains at version 1.0.0-preview. Treat it as a public preview capability and pilot it in non-production scopes before rolling it out organization-wide.

What Azure HorizonDB Is—and Why Cluster Governance Matters​

For Windows and Azure administrators who mostly live in SQL Server or Azure Database for PostgreSQL Flexible Server land, Azure HorizonDB is Microsoft's cloud-native, fully managed, AI-ready PostgreSQL database service. Under the hood, HorizonDB separates compute from storage using a "database-as-a-log" architecture:

  • Stateless PostgreSQL compute nodes handle query processing, transactions, and local NVMe SSD page caching, while offloading write-ahead log (WAL) shipping, archiving, dirty-page writing, and checkpointing to the shared storage layer.
  • High availability without duplicate storage copies allows a cluster (Microsoft.HorizonDB/clusters) to fail over rapidly from its single writer node to readable high-availability replica nodes without traditional WAL rewind delays.
  • Built-in AI and vector tooling integrates pgvector, DiskANN indexing, Apache AGE graph storage, and the azure_ai extension for Microsoft Foundry pipelines directly inside PostgreSQL.

As Microsoft Learn's Architecture Best Practices for Azure HorizonDB notes, production readiness isn't just about fast failovers or vector search—it requires repeatable governance. That guide explicitly recommends pairing Bicep or Terraform deployments with the built-in Deploy Diagnostic Settings for Azure HorizonDB clusters to Log Analytics workspace policy so clusters don't drift out of compliance when teams spin up new environments.

Summary: Scope Boundaries of the Preview​

  • The preview policy targets diagnostic settings streaming to a regional Log Analytics workspace when a HorizonDB cluster is created or updated without them.
  • It does not enforce other HorizonDB controls such as private endpoints, customer-managed keys, backup policies, or database-level firewall rules (notably, HorizonDB cluster creation currently forces a one-time choice between geo-redundant backups and customer-managed keys).

Crucial DBA Reality Check: Routing Logs Is Not Generating Logs​

Here is where seasoned database administrators earn their keep. A common misconception with Azure Monitor policies is assuming that once DeployIfNotExists attaches a diagnostic setting to a cluster, every useful database log magically starts flowing into Log Analytics.

Microsoft Learn's Logs in Azure HorizonDB documentation explicitly warns against that assumption: log generation and log routing are separate. A diagnostic setting only tells Azure where to send resource logs; it does not turn on statement logging, lock-wait tracing, Query Store collection, or pgaudit inside PostgreSQL.

To make the most of the logs routed by this policy, keep HorizonDB's telemetry model straight:

  1. Four Resource Log Categories: HorizonDB routes logs to resource-specific Log Analytics tables:
    • HorizonDBServerLogs — PostgreSQL server events and eligible errors, governed by PostgreSQL logging parameters (for example, log_lock_waits = ON for lock contention or log_autovacuum_min_duration for autovacuum events).
    • HorizonDBPgStatActivitySessions — Periodic snapshots of pg_stat_activity sessions, waits, and node context collected at a five-minute interval (meaning snapshot telemetry, not a continuous real-time stream).
    • HorizonDBQueryStoreRuntimeStats — Query execution counts, durations, and resource statistics (requires Query Store capture to be active).
    • HorizonDBQueryStoreWaitsStats — Sampled query wait statistics (depends on Query Store capture and wait-sampling settings).
  2. Auditing Requires pgaudit: Compliance auditing still requires enabling the pgaudit extension for the statement classes your organization tracks before those events appear in Log Analytics.
  3. Platform Metrics Stay Separate: Standard metrics under Microsoft.HorizonDB/clusters (such as CPU utilization, memory utilization, active connections, and failed connections) appear in Azure Monitor Metrics Explorer out of the box and are retained for 93 days—no diagnostic setting required.
  4. Watch Ingestion Overhead and Schema Quirks: Chatty PostgreSQL logging parameters drive up Log Analytics ingestion costs and can degrade database performance. Azure Advisor even flags log_statement_stats = ON on HorizonDB clusters as a high-impact performance recommendation to turn off. Additionally, check the actual table name in your workspace's schema pane before writing KQL alerts—Ignite-week documentation exhibited a naming discrepancy where table references list HorizonDBServerLogs while some sample queries still referenced PGSQLServerLogs.

How Administrators Should Test and Deploy the Preview Policy​

Because the built-in definition uses the DeployIfNotExists effect, rolling it out follows Azure Monitor's standard policy-at-scale mechanics. Notice that Microsoft's announcement does not publish HorizonDB-specific parameter defaults—such as whether the built-in policy selects specific log categories or the allLogs / audit category groups—so inspecting the definition JSON in the Azure portal is step zero.

Follow this cautious rollout workflow:

  1. Inspect the Built-In Definition First: Open Policy > Definitions in the Azure portal, search for HorizonDB, and examine [Preview]: Deploy Diagnostic Settings for Azure HorizonDB clusters to Log Analytics workspace (1.0.0-preview). Verify which log categories or category groups it enables, which parameters it exposes (such as the target regional Log Analytics workspace), and whether DeployIfNotExists is the default effect.
  2. Verify Assignment and Identity Permissions: To create policy assignments or initiatives, your account needs Resource Policy Contributor (or Owner) at the target management group, subscription, or resource group. Because DeployIfNotExists automatically creates diagnostic settings on non-compliant clusters, the policy assignment requires a managed identity granted permission to write diagnostic settings at the assignment scope—typically Monitoring Contributor or Log Analytics Contributor (including Microsoft.Insights/diagnosticSettings/write at subscription scope).
  3. Start Small or Bundle into an Initiative: Test the assignment on a non-production resource group or dev/test subscription first. Once validated, Microsoft recommends grouping diagnostic policies across services into a single Azure Policy initiative at a subscription or management group scope, using a shared Log Analytics workspace parameter so you don't have to maintain dozens of separate assignments.
  4. Run a Remediation Task for Existing Clusters: By design, DeployIfNotExists fires when a HorizonDB cluster missing the setting is created or updated. Existing clusters sitting quietly in your subscription will remain non-compliant until you run an Azure Policy remediation task to deploy the diagnostic settings retroactively.
  5. Confirm Logs Actually Arrive: After assignment and remediation finish, open a HorizonDB cluster in the Azure portal and check Monitoring > Diagnostic settings, or verify via Azure CLI:
    az monitor diagnostic-settings list --resource <resource-id>
    Then open Monitoring > Logs on the cluster or workspace and run a quick sanity-check query against HorizonDBServerLogs to verify records are ingesting as expected.

The Bottom Line for Enterprise Cloud Teams​

Database governance rarely grabs keynote headlines the way vector search or agentic AI pipelines do, yet it is usually the gatekeeper between a cool proof of concept and a signed production approval. By introducing built-in Azure Policy support for Azure HorizonDB—even in 1.0.0-preview form—Microsoft is giving cloud architects a missing guardrail so new PostgreSQL clusters don't go dark on day one.

Just keep your eyes open to two realities: first, ignore any conflicting "Launched" badge and respect the 1.0.0-preview tag inside the Azure Policy catalog until Microsoft promotes the definition; second, pair your policy rollout with deliberate PostgreSQL logging, pgaudit, and Query Store settings. An automated pipe to Log Analytics is great—just make sure the database is actually putting the right telemetry into the pipe.

 

References

  1. (In preview) Public Preview: Azure Policy support for Azure HorizonDB Azure Updates 2026-11-23T18:21:46Z
  2. Azure updates | Microsoft Azure azure.microsoft.com
  3. microsoftradar.com microsoftradar.com