An Azure relational database service.
Issue Description : You are trying to access Azure SQL server from a VM created in different Virtual network
Recommendations:
-One of the reason as seen in previous cases is that the internal load balancer was configured using basic version. After creating a load balancer with Standard version, cx was able to connect. I was able to reproduce this on my side as well. Please try this and let me know if that was the case with you.
-Please refer to this document with details on how to Connect to SQL Server within a virtual network and see if you are missing any step.
Let me know if you are still seeing issue after going through the above suggestions and I can investigate further. Thanks.