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.

 

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

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Users online (3,360)