Now that Azure AD B2C is being deprecated in some years, let's look at one aspect of a migration to Entra External ID: user migration. The overall process would apply to a migration to any identity provider though.
How to add existing users with social accounts to Azure AD B2C using the Microsoft Graph API
An approach for building and publishing custom policies in Azure DevOps CI/CD pipelines
Overview of the features of the Azure AD B2C extension for VS Code, how you can use a configuration file for different environments, and approaches for deploying custom policies manually