Microsoft Docs

How to Troubleshoot Azure Virtual WAN

This guide provides step‑by‑step procedures to identify, diagnose, and resolve common issues when using Azure Virtual WAN.

Common Issues

IssueSymptomsRoot Cause
Connectivity lossPing/ICMP fails, VPN tunnels downMisconfigured BGP, expired certificate
Policy not appliedTraffic not routed through hubIncorrect hub association
Performance degradationHigh latency, packet lossInsufficient SKU, congested link

Diagnostic Steps

  1. Validate hub and site connectivity using az network vwan hub show.
  2. Check VPN tunnel health with az network vpn-connection list.
  3. Review BGP sessions via Azure portal → Virtual WAN → Hub → BGP peers.
  4. Run Network Watcher IP flow verification: az network watcher test-ip-flow.
  5. Examine NSG and firewall rules for unintended deny entries.

Tools & Resources

Sample PowerShell Script

# Retrieve hub details
Get-AzVirtualWAN -ResourceGroupName "MyRG" -Name "MyWAN" | Get-AzVirtualHub

# List VPN connections and status
Get-AzVpnSite -ResourceGroupName "MyRG" | Get-AzVpnConnection | Select-Object Name, ProvisioningState, ConnectionStatus

FAQ

Why is my VPN tunnel showing "Disconnected"?
Check the shared key, ensure the on‑premises device uses the same IKE version, and confirm that the public IP of the VPN gateway hasn't changed.
How can I enable logging for Virtual WAN?
Navigate to Virtual WAN → Diagnostic settings → Add diagnostic setting. Choose "AllMetrics" and "AllLogs" and point to a Log Analytics workspace.