How to Check Azure VM Traffic Rules with IP Flow Verify

November 5, 2026

When an Azure virtual machine cannot reach an endpoint, use IP flow verify to check whether Azure’s applicable security rules would allow the flow. It evaluates rules for the selected network interface, including rules applied through its subnet and supported Azure Virtual Network Manager admin rules.

You need a running VM, a Network Watcher instance in the VM’s subscription and region, and permission to run the check. IP flow verify supports TCP and UDP; use Microsoft’s NSG diagnostics guidance for ICMP.

Record the flow you want to check

Identify the affected VM and network interface. Note the protocol, direction, local and remote IPs, and both ports. Local refers to the selected VM. For an outbound connection, the local port is the source port; for an inbound connection, it is the destination port.

For example, to examine an outbound HTTPS attempt to a private endpoint, you might test TCP from the VM’s private address and observed source port to the remote private address on port 443. Use values from the real connection rather than copying example addresses.

Run the check in Network Watcher

  1. In the Azure portal, search for Network Watcher.
  2. Under Network diagnostic tools, open IP flow verify.
  3. Choose the VM and the network interface carrying the affected traffic.
  4. Enter the packet details and verify that the direction and ports match the intended flow.
  5. Select Verify IP flow.

Use the result to choose the next check

  • Access denied: Record the matching rule. Review the interface’s Effective security rules to understand the applied rules before proposing any change.
  • Access allowed: The tested Azure rules permit this flow. Check routing, guest or intermediate firewalls, and whether the destination service is listening if the connection still fails.

IP flow verify is a rule evaluation. An allowed result does not establish that a real packet reached the destination or that the application responded. Save the inputs and rule result with your incident notes so another operator can reproduce the check.

For configuration background, see our guide to creating and configuring an Azure network security group.

Sources

Topics:
Read next
November 17, 2026

How to Enable Self-Service Password Reset in Microsoft Entra ID

Enable Microsoft Entra self-service password reset safely with a pilot group, strong recovery methods, registration prompts, testing, and hybrid writeback guidance.