logo
search
Sign-in & Login Problems

Fix UPN Changing to Email After Invalid Password in Microsoft Entra ID

Maira MehtabMaira Mehtab Sep 28, 2026 869 views

Question details

Users experience an authentication issue where their non-email UPN is automatically replaced by their email address on the sign-in screen after entering an incorrect password.

Product
Microsoft Entra ID
Device & OS
not provided
Scenario
A user attempts to sign in to a Microsoft service using a non-email User Principal Name (UPN) but enters an invalid password.
Observed behavior
The sign-in interface unexpectedly converts the non-email UPN to a valid email address without completing authentication, causing the next login attempt to fail and potentially exposing user information.
Before you start

Ensure you have global administrator or authentication administrator privileges in the Microsoft Entra admin center to review and modify tenant sign-in and synchronization policies.

Solution 1Recommended

Verify Hybrid Authentication and Alternate Login ID Settings

Check if the 'Email as alternate login ID' feature is enabled, as this can cause the system to resolve the UPN to an email address during the authentication flow.

In hybrid environments, configuration settings related to Microsoft Entra Connect can alter how identifiers are processed. Disabling or verifying these settings is the first step in troubleshooting identifier changes.

1
Access the Microsoft Entra admin center

Sign in to the Microsoft Entra admin center using your administrator credentials.

2
Navigate to Connect Sync settings

Go to Identity in the left menu, expand Hybrid management, select Microsoft Entra Connect, and click on Connect Sync.

3
Check Alternate Login ID configuration

Review the settings to determine if 'Email as alternate login ID' is enabled. If it is, this may be causing the automatic conversion.

4
Verify UPN domain validation

Ensure that the UPN domain being used is fully validated and correctly synchronized within your tenant.

Free Microsoft Office alternative

Try WPS Office for a Seamless and Independent Workspace

If complex enterprise login issues and cloud synchronization problems are disrupting your workflow, consider using WPS Office. It provides a lightweight, offline-capable environment for document editing without relying on strict cloud domain authentications.

  1. 1. Download the installer: Visit the official WPS Office website and click the 'Download WPS Office Free' button.
  2. 2. Install the software: Run the downloaded file and follow the simple on-screen instructions to install the suite on your device.
  3. 3. Start working instantly: Open WPS Office and begin creating or editing your documents immediately, with or without a cloud sign-in.
Fully compatible with Microsoft Word, Excel, and PowerPoint formats (.docx, .xlsx, .pptx).Independent local account support to bypass enterprise cloud login disruptions.Free and lightweight office suite with rapid startup speeds.Familiar user interface requiring zero learning curve for easy migration.
QA img-9

Frequently Asked Questions

What is 'Email as alternate login ID' in Microsoft Entra?

It is a feature that allows users to sign in to Azure AD/Microsoft Entra using their primary email address instead of their UPN. This is often used when an organization's UPN is non-routable or overly complex.

Why does my UPN change to an email address after a failed password attempt?

This typically happens if hybrid authentication features attempt to resolve the user's identity to a known email address. However, if 'Email as alternate login ID' is disabled, this conversion may be an unexpected service-side behavior in the authentication flow.

Is it a security risk if the UPN changes to an email address before authentication?

It can be considered an information disclosure risk, as it potentially reveals a user's valid email address to someone who only knows the UPN, even if they failed to provide the correct password.