Network Troubleshooting and Monitoring: Network Watcher, Connection Monitor, Flow Logs, Packet Capture and Diagnostics

Microsoft Certified Azure Administrator Associate AZ 103 55 min min read Updated: Nov 17, 2026 Intermediate
Network Troubleshooting and Monitoring: Network Watcher, Connection Monitor, Flow Logs, Packet Capture and Diagnostics
Intermediate Topic 3 of 3

A Simple Troubleshooting Method

  1. Define the problem: from where to where, which port, since when
  2. Check the resources are running and have the right IPs
  3. Check NSGs on both NIC and subnet
  4. Check routes (system routes, UDRs, peering)
  5. Check DNS resolution
  6. Check the OS firewall and the app listening port
  7. Check gateways, firewalls and load balancer probes in the path

Network Watcher Tools

ToolQuestion it answers
IP flow verifyIs a packet allowed or denied, and by which NSG rule?
Next hopWhere does traffic from this VM go next?
Effective security rulesWhat is the final NSG result on a NIC?
Effective routesWhat routes apply to a NIC?
Connection troubleshootCan source reach destination and port, and where does it fail?
Connection MonitorContinuous tests with latency and loss over time
Packet captureCapture packets on a VM for deep analysis
NSG / VNet flow logs and Traffic AnalyticsWho talks to whom, allowed or denied
TopologyDiagram of the network
VPN diagnosticsGateway and tunnel health
bash az network watcher configure -g NetworkWatcherRG --locations centralindia --enabled true az network watcher test-ip-flow -g rg-vm --vm web01 --direction Inbound --protocol TCP --local 10.20.1.4:443 --remote 203.0.113.50:50000 az network watcher show-next-hop -g rg-vm --vm web01 --source-ip 10.20.1.4 --dest-ip 8.8.8.8 az network watcher test-connectivity -g rg-vm --source-resource web01 --dest-address 10.20.2.4 --dest-port 1433 az network nic list-effective-nsg -g rg-vm -n web01VMNic az network nic show-effective-route-table -g rg-vm -n web01VMNic -o table
  • Network Watcher is enabled per region automatically in most cases
  • Connection troubleshoot and packet capture need the Network Watcher agent extension on the VM

Flow Logs and Traffic Analytics

  • Send flow logs to a storage account and optionally to Log Analytics for Traffic Analytics
  • Use them to find blocked flows, top talkers and unexpected internet access
  • Check current guidance: VNet flow logs are replacing NSG flow logs

Common Problems

SymptomLikely cause
Cannot SSH or RDPNSG deny, no public IP, OS firewall, wrong port
VM cannot reach the internetUDR to a firewall that blocks, no outbound path, DNS
Peered VMs cannot talkPeering not both ways, NSG, overlapping spaces, forwarded traffic off
Load balancer shows unhealthyProbe path wrong, NSG blocking probe, app down
Name does not resolveDNS server settings, private zone link missing, privatelink zone not linked

Practice

  1. Break connectivity with an NSG deny rule and find it with IP flow verify
  2. Use next hop to confirm traffic goes to a firewall
  3. Create a Connection Monitor between two VMs
  4. Capture packets for 60 seconds on a VM

Conclusion

Troubleshoot networks in a fixed order: resources, NSGs, routes, DNS, OS and path devices. Network Watcher tools answer each question quickly, and flow logs give history.

Quick Summary: method; tools; commands; flow logs; common problems.

Get Newsletter

Subscibe to our newsletter and we will notify you about the newest updates on Edugators