Interview Prep/Azure/Network Connectivity Errors

App Service can't reach a database through its Private Endpoint even though VNet integration is configured.

IntermediateTroubleshootingNetwork Connectivity Errors
Answer

Likely causes → App Service isn't using the private DNS zone (needs zone linked to the integration VNet or custom DNS), route all disabled, or NSG on PE subnet/DB firewall blocks it.

Diagnose → From Kudu console: nameresolver sql-shop.database.windows.net and tcpping sql-shop.database.windows.net:1433.

Fix →

  1. Link privatelink.database.windows.net to the integration VNet (or set WEBSITE_DNS_SERVER to your resolver)
  2. Enable outbound internet traffic through the VNet (route all)
  3. Allow the integration subnet in NSGs

Prevent → Standard App Service network template that includes DNS linking.

Azure All Azure questions Roadmap: Azure core services

More on Network Connectivity Errors