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 / Want to use an Azure A...
Power Pages
Unanswered

Want to use an Azure AD attribute in Portal Contact for dynamically adding to Web Role

(0) ShareShare
ReportReport
Posted on by 4

The users that will be using our Power Portal have accounts in our internal Azure AD tenant and that is how they will authenticate to our Portal. When they login to the portal for the first time and creates the contact, we're looking to see if we can bring across an Azure AD attribute to write to that contact record. We can't use email because everyone has the same domain email. If we can get that extra attribute into the contact, we can use it to automatically assign a contact to a specific web role. We don't want to do this stuff manually. Any ideas on how or if there are other Azure AD attributes that can come across into the contact record?

 

Thanks!

Categories:
I have the same question (0)
  • Verified answer
    Fubar Profile Picture
    8,338 Super User 2025 Season 2 on at

    Edit: also forgot, and possibly the easiest option, you could possibly add a claims mapping see this page   https://docs.microsoft.com/en-us/power-apps/maker/portals/configure/configure-openid-settings#configure-additional-claims

     

    An External Identity record is created against the Contact record for each portal users External Identity Provider, this record contains an identifier for the respective AD User.

    You should be able to use the identifier and the graph api to interact with AD to obtain the info you are after.

     

  • Mr Mike Profile Picture
    4 on at

    Thanks Fubar, this is the route we're going to take. Appreciate your help

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…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Pages

#1
Jerry-IN Profile Picture

Jerry-IN 71

#2
Fubar Profile Picture

Fubar 62 Super User 2025 Season 2

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard