Create Azure ative directory, database schema and populate user data

吃可爱长大的小学妹 提交于 2019-12-11 18:39:45

问题


I have a on-premises database, and I need to use Azure AD B2C. AD B2C needs to use data from the on-premises database.

So one way to implmenent it is to create a new Azure AD from the on-premises database.

The question is that how should I go about creating a new Azure AD and import database schema into the new Azure AD, and populate user data?

Is my thinking above correct?

Update

When setup, we migrate data first, then after migration, we need a sync job to sync the data maybe once every few hours (not sure the interval yet).


回答1:


You could setup a Rest API that can CRUD data in your on-premise database. Using a custom policy, you can call into that Rest API:

  1. to validate user input,
  2. to obtain additional claims, and
  3. use migration can also use the Rest API if the on-premise DB has user data and you want to migrate it to Azure AD B2C.


来源:https://stackoverflow.com/questions/54520702/create-azure-ative-directory-database-schema-and-populate-user-data

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!