web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Answered

Azure AD B2C - User Account Migration

(0) ShareShare
ReportReport
Posted on by 289

Hello all,

I am facing a specific issue and wanted to see if anyone in the community has insight on this particular issue. I have done a bit of testing prior to the user account migration from a third party authorization provider. One of the things I did is create a user account in Azure AD B2C, and then tested logging in on the website. I wanted to see how account creation in D365 HQ would be handled if an account is added to Azure AD B2C that does NOT exist in D365 HQ. 

I have noted two things from this process. The user gets a 500 internal server error when attempting to log in to the website. I see no account created in D365 HQ.

My concern is this: 

We migrate 50,000 user accounts and none of them are able to sign in to the website and no correlating customer is created in D365 HQ.

Can someone that has dealt with a migration shed a bit of light on this process and these concerns? I've reviewed all relevant documentation and am still not seeing the answers I'm looking for.

Thanks,

Josh R

I have the same question (0)
  • Verified answer
    Shafeeque P. Profile Picture
    6,533 Moderator on at

    Once you enable this feature, when a customer logs into Azure B2C account that matches with an email address in customer's profile, D365 will automatically link them. You need to enable this feature in feature management as it is not enabled by default.

    learn.microsoft.com/.../identity-record-linking

  • Verified answer
    Shafeeque P. Profile Picture
    6,533 Moderator on at

    Just noticed your question was about accounts who doesn't exist in D365. What we did was to extend Customers V3 entity so that when we upload the  data through the entity, a separate call is made into Azure to create the Azure B2C users in Azure AD so that the whole process is handled by D365 itself.

  • Suggested answer
    P Jackson Profile Picture
    1,614 on at

    If you are not first migrating the customers and their email addresses to D365 HQ, then you do not need to migrate them in to AzureB2C. Simple place an instruction on the website for the customer to re-register and set their password. With the Feature mentioned enabled the D365HQ record will then be linked with the new Azure B2C registration.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
Laurens vd Tang Profile Picture

Laurens vd Tang 301 Super User 2025 Season 2

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 118 Super User 2025 Season 2

#3
Siv Sagar Profile Picture

Siv Sagar 105 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans