cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Mdfaulkner
Frequent Visitor

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

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!

1 ACCEPTED SOLUTION

Accepted Solutions
Fubar
Solution Sage
Solution Sage

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#config...

 

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.

 

View solution in original post

2 REPLIES 2
Fubar
Solution Sage
Solution Sage

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#config...

 

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.

 

Mdfaulkner
Frequent Visitor

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

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Top Solution Authors
Users online (2,962)