Skip to main content
You are viewing release 2026.1.0. The latest release is 2026.2.0. View this page in the latest release →

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:

  1. Open the Entra ID Users page:

    entra.microsoft.com/#blade/Microsoft_AAD_UsersAndTenants/UserManagementMenuBlade/menuId/

  2. Select the user.

  3. Select the Properties tab near the top.

  4. Locate the User principal name value.

  5. Locate the On-premises immutable ID value.

Was this page helpful?

MyID Authenticate 2026.1.0 documentation. Published 9 November, 26.