I am migrating local users from SQL database to Azure AD B2C. Azure AD uses user principle name (UPN) by default for login. I have gone through below documentation but not able to understand how can I configure Azure AD to use my existing username as alternate login. I also need to update password for each user upon first login. It is a web application where I want to shift user authentication to Azure AD B2C by redirecting app users to a customized microsoft login page.
https://learn.microsoft.com/en-us/azure/active-directory-b2c/user-migration
https://github.com/azure-ad-b2c/user-migration
Many thanks in advance