cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

Claims Mapping for Azure AD B2C to Dynamics Power Portal

Has anyone had success mapping claim field values other than e-mail, first name, and last name when using Azure AD B2C to Dynamics 365 Power Portal?  The MS documentation indicates the relevant settings in Power Portal are configured using the settings :

Authentication/OpenIdConnect/B2C/LoginClaimsMapping :

emailaddress1=http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress,firstname=http://schemas.xmlsoap....

 

and 

Authentication/OpenIdConnect/B2C/RegistrationClaimsMapping:

emailaddress1=http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress,firstname=http://schemas.xmlsoap....

 

I confirmed the token from Azure AD B2C contains middle_Name.  I have tried additional claims as well with no luck.

2 REPLIES 2
Highlighted
Super User II
Super User II

Re: Claims Mapping for Azure AD B2C to Dynamics Power Portal

Hi @PowerEnv ,

 

According to documentation: "The claim name is the CLAIM TYPE field listed next to the attribute in the sign-in policies Application claims." Can you check sign-in policies for Application claims and check that it is indeed called middle_Name over there?

----------------------------------------------------
If you find this post helpful consider marking it as a solution to help others find it.
Highlighted
New Member

Re: Claims Mapping for Azure AD B2C to Dynamics Power Portal

I confirmed the claim type is middle_Name.  Below is a portion of my decoded token:

 

"email": "builder_bob@buildit.com",

"name": "Bob Builder",

"given_name": "Bob",

"middle_Name": "the",

"family_name": "Builder",

"streetAddress": "124 A Street",

"city": "Springfield",

"state": "IL",

"postalCode": "39482",

"country": "United States",

"telephoneNumber": "4032224564",

 

The email, given_name and family_name map with no issue.  None of the additional fields will map.

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Users online (5,895)