We have an Entra External (B2C) tenant that we need signed up users to be automatically added to a group/role. How do we achieve that?

Luke Ashton 20 Reputation points
2025-02-18T16:11:07.0333333+00:00

We created a Entra External (B2C) tenant for users to sign up on our app and their details logged. Using this article: https://learn.microsoft.com/en-us/entra/external-id/customers/how-to-user-flow-sign-up-sign-in-customers we can create the user flow but we need them to automatically be assigned to a group so they get the right role as we use this role to authenticate with our API. How can we automate this please?

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.
3,073 questions
{count} votes

Accepted answer
  1. Navya 16,130 Reputation points Microsoft External Staff
    2025-02-19T02:06:28.2733333+00:00

    Hi @Luke Ashton

    Thank you for posting your question on Microsoft Q&A.

    I understand that you are creating self-service sign-up user flows for apps in external tenants and now want to assign roles by automatically adding users to groups.

    We can add users to groups automatically using dynamic membership groups. However, in Microsoft Entra External (B2C), dynamic membership groups are not available, so users cannot be automatically assigned to groups upon sign-up. Additionally, roles are not supported for customer accounts, as they do not have access to tenant resources.

    Currently, there is no built-in way to automatically assign groups for role-based authentication in an Entra External (B2C) tenant.

    For more information about supported features in external tenants: https://learn.microsoft.com/en-us/entra/external-id/customers/concept-supported-features-customers

    Hope this helps. Do let us know if you any further queries.


    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

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.