Showing results for 
Search instead for 
Did you mean: 
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 :







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

Super User
Super User

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.

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


"email": "",

"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.

New Member

this config worked for me : ( no need to add



Of Course You need also to clear the portal cache after each change

Super User
Super User

hi @PowerEnv I talk a little bit about claims mapping on this video:


If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

Power Apps Portals Super User

Oliver Rodrigues


Helpful resources

UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (3,218)