Blog Post

Azure Database Support Blog
1 MIN READ

Lessons Learned #545:Understanding client_ip = 0.0.0.0 in Azure SQL Auditing

Jose_Manuel_Jurado's avatar
Jul 16, 2026

During the investigation of a support case I worked on this week, multiple Azure SQL Database audit records were identified with the following value: client_ip = 0.0.0.0

During my analysis, I reproduced the same behavior in a test environment using a client connection to Azure SQL Database through a Microsoft.Sql Virtual Network Service Endpoint . After enabling Azure SQL Auditing and reviewing the original Azure SQL Database Audit file (.xel), the connection was also recorded with client_ip = 0.0.0.0.

This confirms that 0.0.0.0 can represent a valid client connection using a Service Endpoint and should not automatically be interpreted as internal Azure platform.

When the original client IP is not exposed, one of the best ways to identify the originating application is to configure a meaningful Application Name property in the SQL connection string:Application Name=Customer-Production;

Therefore, when reviewing Azure SQL audit records with client_ip = 0.0.0.0, check the original .xel audit file and use the application_name, host_name, authenticated principal, database name, and timestamp to correlate the activity with the correct application.

Published Jul 16, 2026
Version 1.0