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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / OpenID Connect custom ...
Power Pages
Answered

OpenID Connect custom claims

(0) ShareShare
ReportReport
Posted on by 117

I have the same problem as here

 

Did anybody solved it?

 

TLDR: When mapping custom claims like "logicalName1=claim1,logicalName2=claim2", the Contacts table does not get filled with the data even if the claim exists in the id_token.

Categories:
  • sweb Profile Picture
    117 on at

    There is no way to save custom claims from an external identity provider?

  • Fubar Profile Picture
    17 Super User 2026 Season 1 on at

    If you are wanting to populate additional fields from the identity provider, then you will need to make sure you have configured it in the authentication settings for the portal/power pages.

    https://learn.microsoft.com/en-us/power-pages/security/authentication/openid-settings#set-up-additional-claims

    The place you add them is in the Advanced section of the configuration of the identity provider mentioned on the same page above where the link points to. (or can be added to a Site Setting - can't remember its name off the top of my head)

  • sweb Profile Picture
    117 on at

    Hi @Fubar

     

    Is this the section you are saying?

    No matter what I enter here, it makes no difference, still only default fields are registered, first name, last name and email, also it saves full name which is concatenation between first and last name.

    Have tried entering just the additional claim I want but also like in the picture, all the claims, including the default ones.

    eRDvDAl

  • Fubar Profile Picture
    17 Super User 2026 Season 1 on at

    After making any changes, have you been (you need to) syncing the portal (i.e. clear the portal cache).

  • sweb Profile Picture
    117 on at

    Hi @Fubar 

    You mean use the "Sync" button?

  • Verified answer
    sweb Profile Picture
    117 on at

    Have found the problem, through Microsoft Support.

    The claim was text in the JWT, like "12345678" and the column I've made was whole number, since the claim was inside quotes, it's text, so I had to make the dataverse column as text.

     

    Thank you!

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
Mohsin Ali Profile Picture

Mohsin Ali 43

#2
sannavajjala87 Profile Picture

sannavajjala87 30 Super User 2026 Season 2

#3
11manish Profile Picture

11manish 20 Super User 2026 Season 2

Last 30 days Overall leaderboard