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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Azure ADB2C - "Provide...
Power Pages
Answered

Azure ADB2C - "Provide an email address to complete the external account registration".

(0) ShareShare
ReportReport
Posted on by 66

Hi, we have contact records with email address in it. However, when a user trying to login using their existing B2C credentials (created as part of some other LOB application's registration), I was expecting the Portal to automatically try and associate the user identity with the existing contact record. However, strangely the portal is showing a screen like this.. 

SAlluri_0-1709728604256.png

and when the user gives the email address, portal is actually creating a new contact record instead of associating with existing. Does any one observed this behaviour previously? Any thoughts?

 

The only difference I see in the B2C claims bag is - the email address is coming under "otherMails" node as it is a custom policy implemented by Client, where as the standard B2C claims bag it is coming under "emails" node. Could that be the difference?

Custom Policy: 

SAlluri_1-1709728915346.png

OOB policy:

SAlluri_2-1709728973702.png

 

I have tried to include these as additional registration/login claims but no luck 😞

 

Thank you

-Srikanth

 

 

Categories:
I have the same question (0)
  • Verified answer
    OOlashyn Profile Picture
    3,496 Most Valuable Professional on at

    Hi @SAlluri ,

    Yes, the issue is that the portal cannot find the email claim (Power Pages expect to see it in one of the three claims - see here https://learn.microsoft.com/en-us/power-pages/security/authentication/openid-faqs#does-power-pages-require-a-specific-claim-in-an-id-token). Make sure that you configure your custom policy to return email in one of those claims.

  • SAlluri Profile Picture
    66 on at

    Ahhh.. Brill, spot on.. Thanks for the link @OOlashyn . Great help !!

     

    -Srikanth

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Pages

#1
Fubar Profile Picture

Fubar 47 Super User 2025 Season 2

#2
Suriyanarayanan V Profile Picture

Suriyanarayanan V 34

#3
oliver.rodrigues Profile Picture

oliver.rodrigues 26 Most Valuable Professional

Last 30 days Overall leaderboard