How to configure the work and school email for login and signup

Darshan Patel 0 Reputation points

I have created one Azure AD B2C and created one App registrations and in Authentication

I selected this option Accounts in any identity provider or organizational directory (for authenticating users with user flows) in Supported account types.
Also I have created one user flow and Identity providers with the Microsoft account.

I run the user flow and showing the Microsoft login page and I enter the related emails so I have successfully login but When I try to login with the work email that time showing the error like: That Microsoft account doesn't exist. Enter a different account

But I want the user login with the organization email and add that user into the Azure AD B2C user section. I need the Register with AD, login with AD.  and it can't be with a personal email.

Microsoft Entra
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Marilee Turscak-MSFT 29,681 Reputation points Microsoft Employee

    @Darshan Patel ,

    B2C lacks native support for work accounts from Microsoft Entra (AAD). One option for you would be to add Microsoft Entra ID/Azure AD as an identity provider by creating a tenant and configuring it as an identity provider in your B2C tenant. You can use Custom Policies to enable sign-in for users from a specific tenant (Azure AD). You can refer to this guide to set this up.

    You can add local accounts in B2C as an IDP, which will allow users in your tenant to sign into apps.

    Let me know if this helps and if you have further questions.

    Here are some additional resources:

    You can also leave feedback to enhance the out-of-the-box functionality so that the product team can respond directly here:

    If the information helped you, please Accept the answer. This will help us as well as others in the community who may be researching similar questions.