Showing results for 
Search instead for 
Did you mean: 
Not applicable

Needing to try and pull user profile information based on AD LastName, FirstName

Hi everyone,


I have a PowerApps form that is connected to a SharePoint Online list (please reference below):



The Default value for the Email Address field is:


The Default values for Job Title and Department are similar, except the end of the string is replaced by .JobTitle and .Department.


This works great to return information for most users, but our organization has a group of users whose names follow a different naming standard, and their Display Names are ABCLastName, FirstName, and email addresses are


So when I use the above form to return user data, in order for the search to work, I'd have to enter in ABCLastName, FirstName. 


What I'm trying to do is to be able to return user data by only entering the LastName, FirstName. I figure it should be possible to query our AD for the user Last name and First name fields. Does anyone know how best to go about achieving this? I've spent a bit of time trying to find out a solution, but have so far been unable to do so.


Thanks in advance, everyone!


Helpful resources

Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (4,213)