Hope you are doing well. I have a use case that I am trying to set up, but no success.
Let me explain it.
I have a premium web app integrated with azure vnet and connecting SQL azure using service endpoints (I have created a vnet rule for the SQL server by enabling the service endpoints). that works fine. no issue with that.
But there is a requirement that I need to connect a different SQL Azure database that resides in a different Azure tenant and subscription. and their SQL database is not publicly accessible. they are fine to whitelist the public IP that I am connecting to. I told the IP addresses of my azure web app, but it seems this doesn't use public IP when connecting remote SQL server when vnet integration and service endpoints are enabled. it tries to connect the database using private IP and service endpoints.
I have tried to create a private endpoint for remote SQL server within the network the web app resides, but it seems it does not work either (still trying.)
I am not sure the problem is clear but I need help if you have any idea.
Thanks.