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 :
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

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 > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans