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 Security | Microsoft Entra | Microsoft Entra External ID
0 comments No comments
{count} votes

Answer accepted by question author
  1. Alfredo Revilla - Upwork Top Talent | IAM SWE SWA 27,536 Reputation points Moderator
    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

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.