Mapping Azure AD B2C users to Azure Sql database table

Maria Baba 21 Reputation points
2022-12-08T13:15:44.04+00:00

Hi!
My Xamarin.Forms app uses Azure B2C for authentication and the users details are saved in a container in Azure Cosmos DB. Now I'm trying to migrate all containers from CosmosDB to Azure Sql. The question is how can I migrate the table containing the users so that Azure B2C will use Azure SQL insead of CosmosDB?

Azure SQL Database
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,633 questions
0 comments No comments
{count} votes

Accepted answer
  1. 2022-12-15T00:07:45.01+00:00

    Hello @Anonymous and thanks for reaching out. Out of the box, Azure AD B2C does not support storing user data in external data sources such as Azure Cosmos DB, which means your implementation is a custom one. The changes should be done in your application developed for managing the relationship between B2C users and Cosmos DB so that it targets the new data store.

    Let us know if you need additional assistance. If the answer was helpful, please accept it and complete the quality survey so that others can find a solution.

    0 comments No comments

0 additional answers

Sort by: Most helpful