Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Portals + Azure B2C - Associate Contact when matching email found

(1) ShareShare
ReportReport
Posted on by 2

We have setup Azure B2C and it's working great - authentication is working with the portal and a contact is created and external identity created for the contact on the portal. Problem is that if the contact exists (which 99% times it does for the implementation) with the same email address, it doesn't merge the external, but rather refuses to create, and requires a new email and a new contact is created. That's not going to work.

I've tried adding: 

Authentication/OpenIdConnect/B2C/AllowContactMappingWithEmail / TRUE to my site settings, but that isn't working. According to the docs, it should.
Any ideas?

*This post is locked for comments

  • RE: Portals + Azure B2C - Associate Contact when matching email found

    There are two requirements to make this work once configured:

    1. You must be using the field emailaddress1 on contact to represent the email address (it cannot be mapped to a secondary email such as emailaddress2)

    2. The email *must* be unique.  If there are more than one other record with the same email, the portal will create a third instead of selecting at random one of the two existing ones.

    And just to check - are you mapping the inbound email claim from B2C to the email address (RegistrationClaimsMapping)?

    Thanks,
    Shan

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

Congratulations 2024 Spotlight Honorees!

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December!

Congratulations to our December super stars! 🥳

Get Started Blogging in the Community

Hosted or syndicated blogging is available! ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,602 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,340 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans