Hi @azure architect with .net expereince • Thank you for reaching out.
Yes, you can create a custom page for your application where you can provide a text box to collect the email address of the user and based on the domain suffix of the email address, you can redirect the user to either B2C or Azure AD tenant for authentication. This is done by passing the domain suffix as domain_hint
in the authentication request to facilitate the Home Realm Discovery (HRD).
Please refer to the below custom policy sample for this purpose:
A B2C IEF Custom Policy - A Sign In policy with Home Realm Discovery and a Default Identity Provider
-----------------------------------------------------------------------------------------------------------
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.