User Principal Name
A User Principal Name (UPN) is a username written in email address format, combining a user name, the "@" symbol, and a domain name. In Microsoft Active Directory and Microsoft Entra ID environments, it typically serves as the login name that identifies a user when they sign in.
In Windows Active Directory, the UPN is an attribute containing an Internet-style login name for a user, formatted per the RFC 822 (Internet standard) address style as a concatenation of a username, the "@" symbol, and a domain name. It functions as a user identifier used during the identification/authentication step, for example, Microsoft Entra ID uses the UPN to allow users to log in, though the UPN itself is an identifier rather than a credential and does not by itself authenticate the user. Which UPN a user can present typically depends on deployment context, such as whether the associated domain is verified in Microsoft Entra ID.
Why it matters
The UPN is the identifier most users type when they sign in to Microsoft Active Directory and Microsoft Entra ID environments, which makes it a foundational element of the identification step in those ecosystems. Because it is formatted like an email address, it provides a familiar, Internet-style login name that can remain consistent across on-premises and cloud contexts. This consistency matters for administrators managing hybrid deployments, where the UPN often serves as the anchor identifier that ties an on-premises Active Directory account to its Microsoft Entra ID representation.
It is important to keep the UPN in its correct place within an access flow: it is an identifier presented during identification and authentication, not a credential and not an authorization decision. The UPN alone does not authenticate a user or grant any access; it names the principal so that a separate authentication step (verifying a credential such as a password or a passkey) and a subsequent authorization step can proceed. Treating the UPN as if it were secret or as if presenting it constitutes proof of identity is a category error that can lead to flawed assumptions in system design.
Which UPN a user can actually present is not arbitrary, in Microsoft Entra ID it typically depends on deployment context, such as whether the associated domain is verified. This dependency means that UPN planning is a real operational concern during directory synchronization and hybrid identity projects, where a mismatch between an intended UPN suffix and the set of verified domains can prevent users from logging in as expected.
Who it's relevant to
Inside UPN
Common questions
Answers to the questions practitioners most commonly ask about UPN.
