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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Portals + Azure B2C - Associate Contact when matching email found

(1) ShareShare
ReportReport
Posted on by 4

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

I have the same question (0)
  • Shan McArthur Profile Picture
    on at

    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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Varsha deshpande Profile Picture

Varsha deshpande 5

#2
JS-09031509-0 Profile Picture

JS-09031509-0 3

#3
Ciprian  P Profile Picture

Ciprian P 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans