Hi @Tue Nguyen ,
Thanks for reaching out.
To prevent users from signing up with an existing email address, you can enable email verification during the sign-up process. By default, Azure AD B2C verifies your customer's email address for local accounts (accounts for users who sign up with email address or username). Azure AD B2C ensures valid email addresses by requiring customers to verify them during the sign-up process.
Alternatively, if you are looking to avoid users signing up with the same email address when they sign up with an identity provider (IdP), you can use the account linking feature in Azure AD B2C. Account linking allows users to link their existing local account with their new IdP account. This way, users can sign in with either their local account or their IdP account, and their profile information is shared across both accounts.
Reference - https://github.com/azure-ad-b2c/samples/tree/master/policies/account-linkage-at-signup
Hope this will help.
Thanks,
Shweta
Please remember to "Accept Answer" if answer helped you.