User principal name and #EXT#

Daniel Fedorowsky 21 Reputation points
2020-08-30T10:51:34.977+00:00

Hello,

I have a user that when I query it by id using the Microsoft Graph Get directoryObject API his UPN contains #EXT# and ends with onmicrosoft.com
But when I look at the profile of the same user (same object id) in our AD, his UPN looks completely different. No #EXT# and different domain.

I don't understand why the same user has different UPN when I query it from Microsoft Graph than what actually appears in the AD.
Why does the user's UPN changes depending on from where I look at him? What is his "real" UPN?

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,866 questions
0 comments No comments
{count} votes

Accepted answer
  1. Vasil Michev 97,231 Reputation points MVP
    2020-08-30T12:50:27.36+00:00

    Those are Guest users, by definition they should be "external" to your AD. Moreover, UPN is not the value that "links" on-premises and cloud objects, that role is played by the sourceanchor (objectGUID by default).

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful