Interview Prep/Azure/Network Connectivity Errors

Two VNets peered but VMs can't communicate; peering state shows `Initiated`.

IntermediateTroubleshootingNetwork Connectivity Errors
Answer

Likely causes → Peering created on one side only.

Diagnose → az network vnet peering list -g rg --vnet-name vnet-a -o table shows PeeringState: Initiated.

Fix →

az network vnet peering create -g rg-b -n b-to-a --vnet-name vnet-b \
  --remote-vnet <vnetAId> --allow-vnet-access

State should become Connected on both sides.

Prevent → Create both sides in the same IaC module.

Azure All Azure questions Roadmap: Azure core services

More on Network Connectivity Errors