Using Groups in Azure AD B2C
In this post, Sr. Consultant Marius Rochon shows how to configure Azure AD B2C to return Group claims in JWT Tokens.
Out-of-the-box AAD B2C does not expose any functionality related to Security Groups. They exist as an entity type and can be accessed via the regular Azure AD portal blade but there are no features for including user group membership in a token issued as a result of a user flow. To use Groups you will need to add some custom code through custom (IEF) policies. Here is a description of how I accomplished that.
Continue reading here