Troubleshooting Azure Virtual WAN

Common Issues

Diagnostic Tools

Azure provides several built‑in tools to help you pinpoint issues:

Example: Using Azure CLI to view hub health:

az network vhub show \
    --resource-group MyResourceGroup \
    --name MyVirtualHub \
    --query "properties.provisioningState"

Step‑by‑Step Troubleshooting Guide

  1. Validate configuration
    • Confirm hub and spoke relationships.
    • Check the addressPrefix of each virtual hub.
  2. Inspect connection status

    Run the following CLI command to list VPN connections and their states:

    az network vpn-connection list \
        --resource-group MyResourceGroup \
        --output table
  3. Review logs

    Navigate to Monitor → Logs and execute:

    AzureDiagnostics
    | where Category == "VirtualNetworkGatewayDiagnosticLog"
    | where ResourceId contains "my-vpn-gateway"
    | project TimeGenerated, OperationName, Status, Message
    | order by TimeGenerated desc
  4. Test connectivity

    From a VM in a spoke VNet, use ping or tracert to the hub address. If the hop fails, verify NSG and firewall rules.

  5. Open a support ticket

    If the issue persists, collect the following information:

    • Subscription ID
    • Resource Group name
    • Virtual hub and VPN gateway IDs
    • Relevant log excerpts

Best Practices

Related Resources