Azure SQL database audit logs (for CREATE/UPDATE/DELETE/DROP/ALTER) not working.

Sagar Nagadiya 0 Reputation points Microsoft Employee
2026-07-08T13:00:58.2933333+00:00

After enabling SQL Auditing on both the Azure SQL Server and Azure SQL Database, and configuring audit logs to be sent to the Log Analytics workspace, we are not seeing audit events for CREATE, UPDATE, DELETE, DROP, or ALTER operations in the workspace.

Has anyone encountered this issue before? Is there any known configuration or limitation that could cause these audit logs not to appear?

Azure SQL Database

2 answers

Sort by: Most helpful
  1. Andre Van Zyl 0 Reputation points
    2026-07-09T02:12:41.0033333+00:00

    Go to Azure Portal (Your SQL Server)
    Make sure "Audit all actions and events" is ON or select them manually.

    Was this answer helpful?

    0 comments No comments

  2. Alberto Morillo 35,506 Reputation points MVP Volunteer Moderator
    2026-07-09T01:58:18.6666667+00:00

    Try to run the following simple query first, just provide the subscription ID, resource group and database name on the WHERE clause. Maybe filtering this way you get results.

    AzureDiagnostics 
     | where ResourceId == '/SUBSCRIPTIONS/<your subsciption ID>/RESOURCEGROUPS/<your rsrc grp>/PROVIDERS/MICROSOFT.SQL/SERVERS/<YOURSERVERNAME>/DATABASES/<YOURDBNAME>' 
     | project event_time_t, statement_s, succeeded_s, affected_rows_d, server_principal_name_s, client_ip_s, application_name_s, additional_information_s, data_sensitivity_information_s
     | order by event_time_t desc
     | take 100
    

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.