azureazure-ad-b2c

Azure B2C groups integration


probably someone asked this already so feel free to post the answer as i didn't find one.

as for my research i want to be able to use in Azure B2C, groups that will correlate with my applications. for example - app1 with group that facilitate several users that are relevant to that specific group. and so on..

i saw that i can create groups and manage users inside as a regular directory but is there any easy way to bind the application and users together? the only way is to use graph API?

Thanks for the answers.


Solution

  • You can create groups and assign users to the groups. And you can also assign users and groups to the application also via Azure portal.

    Go to Azure Portal (Azure AD B2C directory) -> Groups -> New Group -> Create a group

    enter image description here

    Select the group and add members to the group:

    enter image description here

    To add the group to the application, you can go to Enterprise applications (remove all the filters) -> Search and select your application -> Users and groups -> Add user/group

    You need Microsoft Entra ID Premium P1 or P2 to use group-based assignment to applications:

    enter image description here

    You can add groups to application successfully.