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 :
I confirmed the token from Azure AD B2C contains middle_Name. I have tried additional claims as well with no luck.
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?
I confirmed the claim type is middle_Name. Below is a portion of my decoded token:
"name": "Bob Builder",
"streetAddress": "124 A Street",
"country": "United States",
The email, given_name and family_name map with no issue. None of the additional fields will map.
this config worked for me : ( no need to add http://schemas.xmlsoap.org/ws/2005/05/identity/claim)
Of Course You need also to clear the portal cache after each change
Learn how to create your own user groups today!
Check out the new Power Platform Community Connections gallery!
Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.