Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Importing Azure AD User - OpenId #7909


User avatar
0
ravindrapatail created

Hello,

How can we import Azure Active Directory Users in to the system, we are in the mirgation phase where we would like to create all the users (with out asking users to login in the system) and setup the permission and migrate old transactions in the system.

Which table are important while importing Active Directory Users user with SQL script.

Thanks


6 Answer(s)
  • User Avatar
    0
    ravindrapatail created

    Waiting for answer, how can we import AAD user as Batch directly to AbpUser and other related tables, please suggest.

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @ravindrapatail,

    Sorry for the delay. You have to fill AbpUsers and AbpUserLogins tables. On AbpUserLogins table, LoginProvider must be "OpenIdConnect" and ProviderKey must be the Id of the user on Azure AD.

  • User Avatar
    0
    ravindrapatail created

    Thank you, But it looks ProviderKey column in AbpUserLogins is encrypted, if yes how is has been encrypted is. it MD5 ? In order to update AD user ID from backend we should know how should we store it. appriciate you early feedback.

  • User Avatar
    0
    ravindrapatail created

    @ismcagdas please help us how to store provider key directly from backend as it looks ProviderKey ( Id of the user on Azure AD) column in AbpUserLogins is encrypted

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @ravindrapatail

    We don't have any custom logic there. It is handled by Microsft's packages.

  • User Avatar
    0
    ismcagdas created
    Support Team

    This issue is closed because it has not had recent activity for a long time.