6 Federation without directory synchronization
6.1 Checking the Entra ID values for a user
You can check the Entra ID values for a user with PowerShell or using the Microsoft Entra admin center.
6.1.1 Using PowerShell
To view the values stored in Entra for a user, run the following PowerShell script, replacing the highlighted values for $tenantId and $accountUpn:
$tenantId = 'federationdemo.com'
$accountUpn = 'johnd@federationdemo.com'
Connect-MgGraph -TenantId $tenantId -Scopes 'User.ReadWrite.All' -NoWelcome
Get-MgUser -UserId $accountUpn -Property UserPrincipalName, OnPremisesImmutableId | fl UserPrincipalName, OnPremisesImmutableId
The PowerShell script outputs the user details as follows:
UserPrincipalName : johnd@federationdemo.com
OnPremisesImmutableId : X1vAuhkd70KAAfnfxA6DyA==
6.1.2 Using the Microsoft Entra admin center
To view the values stored in Entra for a user using a browser:
-
Open the Entra ID Users page:
entra.microsoft.com/#blade/Microsoft_AAD_UsersAndTenants/UserManagementMenuBlade/menuId/
-
Select the user.
-
Select the Properties tab near the top.
-
Locate the User principal name value.
-
Locate the On-premises immutable ID value.
MyID Authenticate 2026.2.0 documentation. Published 26 November, 26.