Reputation: 21
I'm trying to setup an app service to connect to a SQL database on a VM in two different subscriptions. I configured the app service to use Point to Site VPN through a VNET gateway. Then configured VNET peering in both subscriptions. I still cannot connect to the database from the app service. I have verified that the network service groups configured for the VM subnet aren't the reason the connection is failing. What other configuration could I be missing?
Upvotes: 1
Views: 425
Reputation: 21
I was able to get it working. The problem was the second VNET wasn't configured properly to route traffic back to the P2S address range.
Upvotes: 1