An Azure service that is used to provision Windows and Linux virtual machines.
Use standard domain controller connectivity and DC locator troubleshooting on both the Azure DC and the affected site DC.
- Verify basic network connectivity
- From the Azure DC, run
ipconfig /alland confirm:- Correct IP, subnet, default gateway.
- DNS servers point only to internal AD DNS servers, not public DNS.
- From the Azure DC, ping the affected site DC by:
- IP address.
- Hostname.
- FQDN.
- From the affected site DC, do the same tests back to the Azure DC.
- If ping fails in either direction, check site-to-site VPN, NSGs, firewalls, and routing between Azure and that specific site.
- From the Azure DC, run
- Check ports and firewalls
- Use PortQry (from a management machine or the Azure DC) against the affected site DC FQDN and query Domains and Trusts services, focusing on UDP/389 (LDAP) and UDP/53 (DNS).
- Ensure all required AD ports (especially LDAP 389/636, Kerberos 88, DNS 53, RPC 135, and dynamic RPC range) are allowed between the Azure DC and that site DC.
- If any port is blocked only for that site, fix firewall/NSG rules.
- Validate DNS and DC locator
- On the Azure DC, run:
Confirm both resolve to the correct IPs.nslookup <SiteDC_FQDN> nslookup guid._msdcs.<forest_root_domain> - If
nslookupfails for the site DC or GUID records, on the affected DC:- Run
ipconfig /registerdns. - Restart the Netlogon service to re-register SRV records.
- Run
- On the Azure DC, run:
Confirm the affected site DC appears as an available DC or at least that a DC is discoverable.nltest /dsgetdc:<DomainName> /force /kdc
- On the Azure DC, run:
- Run health checks on both DCs
- On both the Azure DC and the affected site DC, run:
Review for DNS, Netlogon, replication, or locator errors.dcdiag /v > dcdiag.txt - If the affected DC is suspected to have issues, enable Netlogon debug logging on it:
Then reviewnltest /dbflag:0x2000ffff%windir%\Debug\Netlogon.logfor locator and authentication errors.
- On both the Azure DC and the affected site DC, run:
- Check replication and quarantine state
- In Active Directory Sites and Services, verify:
- The Azure DC and the affected site DC are in correct sites and subnets.
- Replication connections exist between the site and the Azure DC (directly or via hub DCs).
- If the affected DC is quarantined (not replicating with others):
- On that DC, run:
repadmin /options <ServerName> -DISABLE_INBOUND_REPL repadmin /options <ServerName> -DISABLE_OUTBOUND_REPL - If needed, create a new replication connection to another DC in the same site.
- On that DC, run:
- In Active Directory Sites and Services, verify:
- Use LDP/LDAP to verify connectivity
- From a management machine or the Azure DC, use
Ldp.exeto connect and bind to the affected site DC. - If LDAP bind fails, focus on network/firewall and DNS between Azure and that site.
- From a management machine or the Azure DC, use
- If still unresolved
- Capture traffic with a network monitor (for example, Wireshark) between the Azure DC and the affected site DC to see where packets are dropped.
- Check system, Directory Service, DNS, and NETLOGON event logs on both DCs for errors related to DC locator, Kerberos, or replication.
These steps will isolate whether the issue is network/firewall, DNS/DC locator, or a health/replication problem specific to that site DC.
References:
- Troubleshoot domain controller location issues in Windows
- Event ID 5719, Error 1311, or Error 1355 - Domain controller or domain not found
- Microsoft Entra Connect Health Alert Catalog
- DNS Server becomes an island when a domain controller points to itself for the _msdcs.ForestDnsName domain
- Troubleshoot DirectAccess Server console: domain controller and Kerberos
- Troubleshoot setting the entry point domain controller