App Gateway v2 deployment fails or goes unhealthy after a UDR `0.0.0.0/0 → firewall` was added to its subnet.
AdvancedTroubleshootingNetwork Connectivity Errors
Answer
Likely causes → App Gateway v2 (public frontend) requires direct internet for control-plane traffic; sending default route to an NVA breaks it.
Diagnose → Check route table on snet-agw; App Gateway operational state and health.
Fix →
- Remove the
0.0.0.0/0route from the App Gateway subnet (keep specific routes to spokes if needed) - Or use the private-only App Gateway deployment, which supports forced tunnelling
Prevent → Exclude snet-agw from the "force-tunnel all subnets" policy.
More on Network Connectivity Errors
A VM with a public IP times out on SSH (`ssh: connect to host 20.x.x.x port 22: Connection timed out`).Beginner`nslookup kv-shop.vault.azure.net` from inside the VNet returns a public IP even though a Private Endpoint exists.IntermediateKey Vault returns `Client address is not authorized and caller is not a trusted service.` (ForbiddenByFirewall).BeginnerApplication Gateway returns `502 Bad Gateway` and backend health shows Unhealthy.IntermediateTwo VNets peered but VMs can't communicate; peering state shows `Initiated`.IntermediatePeering creation fails because address spaces overlap.Beginner