Forum Discussion
Azure VM Windows Server 2022 Domain Joining Issue
For domain join, successful ping/telnet is useful but not enough. The usual failure point is DNS/service discovery or one of the AD ports being blocked asymmetrically.
I would check these in order:
1. On the Azure VM, confirm DNS points to the domain DNS/DCs, not Azure-provided DNS, and run `nltest /dsgetdc:<domain>` plus `nslookup -type=SRV _ldap._tcp.dc._msdcs.<domain>`.
2. Use Network Watcher Connection troubleshoot from the VM to a domain controller on TCP 53, 88, 135, 389, 445, 464, 636 if used, 3268 if GC is needed, and the dynamic RPC range.
3. Check effective routes on the VM NIC. Make sure traffic to the DCs is not forced through a firewall path that SNATs or drops dynamic RPC.
4. Check effective NSG rules on both subnet and NIC.
5. On the DC/firewall side, verify the Azure VM subnet is allowed and that return traffic follows the expected route.
The "network path was not found" style error is often DNS/DC locator or SMB/RPC reachability, not just basic ICMP reachability.
Useful docs:
https://learn.microsoft.com/azure/network-watcher/connection-troubleshoot-overview
https://learn.microsoft.com/troubleshoot/azure/virtual-network/virtual-network-troubleshoot-connectivity-problem-between-vms