How to bulk import Azure AD B2C external user userType Member

reneton 5 Reputation points
2024-10-25T20:08:41.15+00:00

Azure AD B2C has an option for "Bulk create" users. However, this option only works for internal users, users who have an approved domain.

I would need to import "external users".

Single external user can be created via "Create new external user". Is there a way to bulk import external user with userType "Member" with a csv?

Microsoft Entra External ID
Microsoft Entra External ID
A modern identity solution for securing access to customer, citizen and partner-facing apps and services. It is the converged platform of Azure AD External Identities B2B and B2C. Replaces Azure Active Directory External Identities.
2,968 questions
Microsoft Entra
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
22,664 questions
{count} vote

3 answers

Sort by: Most helpful
  1. akinbade abiola 21,045 Reputation points
    2024-10-27T00:52:37.1733333+00:00

    Hello reneton,

    Unfortunately, as of now, there isn't a direct, built-in method to bulk import external users with the "Member" user type in Azure AD B2C using a CSV file.

    You can mark it 'Accept Answer' and 'Upvote' if this helped you

    Regards,

    Abiola

    0 comments No comments

  2. Jerome Ferreira 0 Reputation points
    2024-12-21T21:12:50.0066667+00:00

    I am currently doing the same thing in our company. We are configuring B2C Direct between all our offices around the world and each one has their own tenant.

    It sounds like you are on the correct path. You next step is to use Cross tenant Synchronization

    We were able to choose what users can be synced and the other tenant users can be synced.

    FYI: Our requirements was that the external users are managed by their home tenant and they use their own licenses from their home tenant.

    This also got rid of a lot of little annoying little problems.

    Another cool thing is that in this sync scenario, if the external user leaves and their profile is deleted from their home tenant is also deletes it on your end.

    The way you are doing it means you are having to insert their name, last name, email and so on and so on.

    By using sync, you select the users from the external tenant to be added as an external Member and then it just adds it. No need to type out all their info. Its so much quicker.

    You can up to 5 users at a time.

    To answer your question. No you cant import with a .CSV. However, my method means you can add like 20 users in the time your take to add one user manually.

    Hope this helps.

    0 comments No comments

  3. Sina Salam 14,626 Reputation points
    2024-12-22T04:32:04.9033333+00:00

    Hello reneton and Shadab Basha,

    Welcome to the Microsoft Q&A and thank you for posting your questions here.

    I understand that you are having issues on how to bulk import Azure AD B2C external user userType Member.

    Yes, Azure AD B2C does not natively support bulk importing external users via CSV. However, you can achieve similar outcomes using programmatic approaches like the Microsoft Graph API, PowerShell scripts, or leveraging cross-tenant synchronization.

    @reneton you have two options:

    @Shadab Basha use this option:

    The links provides you with more details and step guide to achieve your goal.

    I hope this is helpful! Do not hesitate to let me know if you have any other questions.


    Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.