KB-022209

User Identity Mapping Failed

Troubleshooting when local user profiles cannot be mapped to Microsoft Entra ID during pre-migration (~40%).

Description

During pre-migration, the application maps collected local user profiles to corresponding Microsoft Entra ID identities.

This error occurs when the mapping process fails and the application cannot retrieve or match Entra ID details for one or more users.

No destructive migration changes are performed at this stage.


Quick Reference

ItemDetails
StagePre-Migration user identity mapping
ProgressAround 40%
Device impactNo destructive migration changes have been made
Safe to retryYes
ResponsibilityCustomer IT administrator

What You Will See

Application Message

Migration failed in module EntraFetchUserDetails

KB

Portal Log

Migration failed in module EntraFetchUserDetails

KB


Root Cause

The application is unable to map local user profiles to Entra ID identities.

Common causes:

  • API connectivity interruption during mapping
  • Users not synchronized to Entra ID
  • Users outside Azure AD Connect or Entra Cloud Sync scope
  • Missing required Entra identity attributes
  • Configuration mismatch for cross-tenant or cross-forest scenarios
  • Incomplete or inaccessible local profile data

Diagnosis

Run the following checks in PowerShell (Administrator):

Step 1 – Confirm profile records were collected
Get-ChildItem "HKLM:\SOFTWARE\OpsoleMigrate\Profiles" -ErrorAction SilentlyContinue

Step 2 – Review mapping status
Get-ChildItem "HKLM:\SOFTWARE\OpsoleMigrate\Profiles" | ForEach-Object { $p = Get-ItemProperty $_.PSPath; [PSCustomObject]@{ SID = $_.PSChildName; OldUser = $p.OLD_userName; Status = $p.Status; LastError = $p.LastError } }

StatusMeaning
ReadyForMigrationUser mapped successfully
NotEligibleHybridSyncUser not synchronized to Entra ID
EntraLookupFailedUser lookup failed
EntraSidMissingRequired Entra SID attribute missing

Resolution

User Not Synchronized

Ensure Azure AD Connect or Entra Cloud Sync is operational and the affected users are within sync scope.

Run a delta sync if required:

Start-ADSyncSyncCycle -PolicyType Delta

Allow synchronization to complete before retrying.


Configuration Mismatch

Verify that the migration configuration matches the actual environment:

  • Correct tenant selected
  • Correct scenario (AD / Hybrid / Tenant-to-Tenant)
  • Cross-forest settings aligned

API Connectivity Issue

Validate API connectivity as described in KB-022201.


Recovery Steps

  1. Close the Opsole Migrate application
  2. Re-open the application
  3. Start migration again

When to Contact Support

Contact support@opsole.com if:

  • Users are synchronized correctly but mapping still fails
  • Mapping status does not update correctly
  • Multiple devices show the same issue

  • Event Viewer → Application and Services Logs → OpsoleMigrate

How is this guide?