A cloud-based identity and access management service for securing user authentication and resource access
For federated tenants, Microsoft Entra sign-in for Azure AD–joined devices still uses Microsoft’s endpoints as the primary authority; WS-Trust/AD FS is used behind the scenes for federated authentication. Seeing a Microsoft endpoint URI in dsregcmd /status is expected and not, by itself, the cause of the “username or password is incorrect” error.
Use the following checks and tools from the referenced guidance to narrow down the issue:
- Verify the device is actually Azure AD joined and healthy
On the problem device, run:
Confirm:dsregcmd /status-
AzureAdJoined : YES -
DomainJoined/WorkplaceJoinedvalues match the intended state (for pure Azure AD joined,DomainJoinedshould beNO).
IfAzureAdJoined : NO, the join is incomplete; follow the “Troubleshoot join failures” flow to find the error phase and code.
-
- If join is failing or incomplete, locate the error phase and code
From the hybrid join troubleshooting flow (also applicable for Azure AD join diagnostics):- On Windows 10/11 1803 or later, in
dsregcmd /statuslook under Diagnostic Data → Previous Registration for:-
Error Phase -
Client ErrorCode
-
- On earlier builds, check Event Viewer:
- Applications and Services Logs → Microsoft → Windows → User Device Registration → Admin
- Look for events 304, 305, 307.
- On Windows 10/11 1803 or later, in
- Check for network / WS-Trust / AD FS–related errors
For federated auth, failures often surface as STATUS or HTTP errors:- In Microsoft Entra operational logs and analytics logs on the client, look for:
-
STATUS_NETWORK_UNREACHABLE,STATUS_BAD_NETWORK_PATH, orSTATUS_UNEXPECTED_NETWORK_ERROR
These indicate HTTP > 400 from Microsoft Entra auth service or WS-Trust endpoint, or network connectivity issues to required endpoints. - Event 1081 and 1088 (operational) for server error codes and WS-Trust error descriptions.
- Event 1022 (analytics) for the URL being accessed.
- Event 1084 (operational) for suberror codes from the network stack.
-
- If the user realm discovery fails with
STATUS_NO_SUCH_LOGON_SESSION, verify:- The user’s UPN domain is added as a custom domain in Microsoft Entra ID.
- If on-prem domain is nonroutable (for example,
user@contoso.local), configure Alternate Login ID (AltID) as per the referenced prerequisites.
- In Microsoft Entra operational logs and analytics logs on the client, look for:
- Confirm correct username format at the Windows sign-in screen
For cloud sign-in to Azure AD–joined devices, the username must be the full UPN, notdomain\useror short name. For example:-
******@contoso.com
Usinguserorcontoso\userwill fail in the same way as described for PowerShell sign-in: the format must be<user_name>@<domain>.
-
- Validate that the user can authenticate to Microsoft Entra ID directly
Since the tenant is federated, confirm that the same user can:- Sign in to a cloud app (for example, Microsoft 365) using the same UPN and password.
- If cloud sign-in works but device sign-in fails, focus on device registration/join and WS-Trust/AD FS logs as above.
- If using hybrid join, ensure the device is also domain joined
For hybrid-joined scenarios,DomainJoinedmust beYESindsregcmd /status. If it isNO, hybrid join cannot complete, and Azure AD sign-in will not function as expected. - Review AD FS and WS-Trust configuration
Because the tenant is federated:- Ensure the WS-Trust endpoints used for device authentication are reachable from the device.
- Use the error codes from events 1081/1088 and the STATUS codes in the table to map to specific server/network issues and remediate accordingly (for example, fixing AD FS endpoint availability, certificates, or proxy/firewall rules).
Once the device shows AzureAdJoined : YES, the UPN domain is correctly configured in Entra ID, and WS-Trust/AD FS endpoints are reachable (no STATUS/HTTP > 400 errors in the logs), Azure AD sign-in to the joined machine should succeed using the user’s full UPN and password.
References: