Hi John Ellison
Yes, you can use Azure Data Explorer (ADX) external tables to query data from a SQL Server running on an Azure VM, but there are a few things to check:
- The SQL VM must be reachable from ADX - if there’s no public IP, make sure the VM is in the same virtual network (VNet) as your ADX cluster or that there’s VNet peering between them.
You’ll need to create a data connection in ADX using the externaldata() function or by defining an external table that connects via ODBC or SQL connector.
Ensure the SQL port (default 1433) is open in the VM’s NSG (Network Security Group) so ADX can connect.
If the SQL VM isn’t network-accessible (no public or private route), ADX won’t be able to read from it.
Reference:
Azure SQL external table connection strings
Hope this helps. Do let us know if you any further queries.
If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.