We have a front-end web application hosted on Azure which is registered in an Azure AD tenant. We also have back-end web applications which are exposed APIs through api gateway to be consumed by the front-end app.
Using the FE application we are calling APIs to add users to the system (the back-end uses Microsoft Graph APIs). That means the user is added to Azure AD and we are storing the oid
from AD and other details to a SQL DB for further business use case. All these users are in Azure AD (no external).
Now we have to invite the external users with Social Identities (for example: Google, Facebook) to the application we have federate and use graph api to invite users. We also want to have user self signup/signings. The decision is to move to B2C AD (application may or may not stay the same). Initially we thought that all existing subscription and services created in Azure AD can be move to B2C tenant, but I found that it may not be possible.
Now I am confused:
- do we have to use both Azure AD and Azure AD B2C?
- If we have to maintain both how we have to manage users in both ADs?
- In which AD should i register the FE app?
- How does it work?