T The Triage ManualTechnical Guides for IT Emergencies
P2 · Microsoft 365 & Collaboration

Authentication Failures — Windows Hello, MSA Prompts, and Entra ID Join/Hybrid-Join Issues

Windows endpoints fail to complete Azure Entra ID join, hybrid join, or Windows Hello for Business provisioning, manifesting as repeated credential prompts, devices stuck in 'Pending' registration state, or PIN/biometric enrollment failures. Root causes include missing or misconfigured Service Connection Point (SCP) in on-premises AD, network connectivity to Entra ID endpoints being blocked, certificate trust chain issues, or clock skew affecting token validation. Resolution involves verifying device registration state with dsregcmd, repairing the SCP via Azure AD Connect, clearing NGC containers for Hello re-provisioning, and ensuring network access to required Microsoft endpoints.

Indicators

Likely causes

Diagnostic steps

  1. Run 'dsregcmd /status' as administrator and review the Device State, User State, and SSO State sections
    Establishes the baseline device registration state — whether the device is Entra joined, hybrid joined, workplace joined, or not registered — and surfaces join error codes
  2. Open Event Viewer and navigate to Applications and Services Logs > Microsoft > Windows > User Device Registration > Admin — review for events related to registration failures, token acquisition errors, or certificate issues
    Provides detailed error codes and failure reasons for device registration and Windows Hello enrollment attempts logged by the OS
  3. In Entra ID portal (portal.azure.com > Azure Active Directory > Devices > All Devices), search for the affected device by name and review its Join Type, Registered date, Compliant status, and whether it shows as 'Pending'
    Confirms whether the device object exists in Entra ID and identifies if it is stuck in a pending hybrid join state
  4. Run 'dsregcmd /status' and inspect the 'Ngc' section under User State for Windows Hello provisioning errors — specifically NgcSet, NgcKeyId, and CanReset values
    Determines whether Windows Hello keys have been provisioned for the user and surfaces specific NGC provisioning failure indicators
  5. Test network connectivity to required Entra ID endpoints: Test-NetConnection -ComputerName login.microsoftonline.com -Port 443 and Test-NetConnection -ComputerName device.login.microsoftonline.com -Port 443
    Rules out network-level blocking of the Entra ID endpoints required for device registration and token acquisition
  6. For hybrid join scenarios, verify the Service Connection Point (SCP) in AD by running on a domain controller: Get-ADObject -Filter {objectClass -eq 'serviceConnectionPoint'} -SearchBase 'CN=Configuration,DC=domain,DC=com' | Where-Object {$_.Name -eq '62a0ff2e-97b9-4513-943f-0d221bd30080'}
    Confirms whether the SCP exists in on-premises AD to direct devices to the correct Entra ID tenant during hybrid join

Resolution path

Prevention

Tools

References

authenticationwindows-helloentra-idazure-adhybrid-joindevice-registrationmsawindows-10windows-11identitydsregcmdconditional-accessngcpkiscp