Share via

Enable database watcher for Azure SQL

Azure Public Test Date Azure Public Test Result

Azure US Gov Last Test Date Azure US Gov Last Test Result

Best Practice Check Cred Scan Check

Bicep Version

Deploy To Azure

Visualize

Use this sample to:

  • Create a watcher in the database watcher service for Azure SQL.
  • Create an Azure Data Explorer cluster and a database on that cluster to be used as the data store for the watcher.
  • Create Azure SQL database, elastic pool, and managed instance SQL targets for the watcher, using Microsoft Entra and SQL authentication.
  • Create managed private endpoints for the watcher to connect to an Azure SQL logical server and a vault in Azure Key Vault using private connectivity.

Prerequisites

See Prerequisites.

Deployment steps

You can click the "deploy to Azure" button at the beginning of this document or follow the instructions for command line deployment using the scripts in the root of this repo.

Tags: Azure SQL, SQL monitoring, database watcher, Microsoft.DatabaseWatcher/watchers