User Roles in Azure AD B2C and Azure AD

Jamal Ashraf 31 Reputation points
2022-09-01T19:18:20.23+00:00

Dear All,
I am using Azure AD B2C for authentication purposes in my react and graphQL (Api).But now i have some doubts, Please help me as i am student.

My first doubt is that how can i add authorization in Azure AD B2C Please share some code sample?
My second doubt is that should i only use Azure AD for this authentication and authorization purpose or Azure AD B2C is better and may be cheap?
My third doubt is that is it possible that both Azure AD and Azure AD B2C can work together from existing user role sign in sign up and then i can use roles from token because it automatically attaches user roles in Azure AD?
My last doubt is that please recomment me how can i apply authorization and authentication on MS Azure (REACT - NODEJS(GraphQL) what is the best practice in this regard as i want to do both authentication and authorization in a possible cheapest way(price)?

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,663 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,664 questions
{count} votes