If you don’t know your UPN or are not a domain admin, open the command prompt on your machine and run the command whoami /upn. The result resembles an email address, but it’s the UPN on your local domain account.

Note: In some cases, you may receive the following message: “ERROR: Unable to get User Principal Name (UPN) as the current logged-on user is not a domain user.” Please consult with your system domain administrator or IT department to troubleshoot this issue.

Last modified: May 4, 2023

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.