Automated migration from Azure AD B2C to Entra External Id

James Crowley 0 Reputation points
2026-01-30T02:23:05.49+00:00

Is there yet any automated migration path available to users of Azure AD B2C? We are needing to make customisations and do not want to waste our time doing so on AD B2C. Thank you.

Microsoft Security | Microsoft Entra | Microsoft Entra External ID
{count} votes

1 answer

Sort by: Most helpful
  1. RoryB 430 Reputation points
    2026-01-30T03:33:37.29+00:00

    Microsoft have just released a JIT migration kit to migrate from any IDP to EEID.

    It uses PowerShell scripting to automate the process.

    https://github.com/microsoft/b2c-to-meeid-migration-tool/tree/main

    Note: It is not yet production-ready.

    I've got it working, so feel free to ask any further questions.

    Essentially, it covers:

    1. Bulk Export/Import - Efficient batch processing with retry logic and throttling management
    2. Just-In-Time (JIT) Password Migration - Seamless password migration on user's first login
    3. Full Observability - Application Insights integration with metrics and dashboards

    Key Features

    ✅ Currently Available

    • Bulk User Export from Azure AD B2C with automatic pagination
    • Bulk User Import to External ID with extension attributes
    • JIT Password Migration via Custom Authentication Extension
    • UPN Domain Transformation preserving local-part identifiers as a workaround to enable sign-in alias functionality
    • Attribute Mapping with flexible field transformation
    • Export Filtering by display name pattern and user count limits
    • Built-in Retry Logic with exponential backoff
    • Comprehensive Telemetry with Application Insights integration
    • Local Development Mode using Azurite emulator (no Azure resources)
    • Multi-Instance Scaling for high-volume migrations
    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.