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 Apps / Populate a DropDown wi...
Power Apps
Unanswered

Populate a DropDown with Officeuser search based on job title

(0) ShareShare
ReportReport
Posted on by 94

Is it possible to have the ITEMS of a dropdown be populated by running a filter on office365usersconnection, that would display Displayname(or email) of any user whose  jobtitle is say "General Manager"?

 

 

 

Categories:
  • v-micsh-msft Profile Picture
    Microsoft Employee on at

    Hi @JC75,

     

    Yes, there is a way to make it work.

    Please follow the steps below:
    1. Add the Office 365 User connection,

    2. Add a Dropdown control, sepcify the formula below under the items property:

    Filter(Office365Users.SearchUser(),JobTitle="General Manager").Mail

    This would display an Email List of the people which have the JobTitle configured with "General Manager".

     

    If you would like to customize the search part, you could change it as below, where TextInput1.text is used to input the JobTitle:

    Filter(Office365Users.SearchUser(),JobTitle=TextInput1.Text).Mail

    For more information about Office 365 User connection, please check:

    Office 365 Users

     

    Regards,

    Michael

  • JC75 Profile Picture
    94 on at

    Hi thanks for the help - however this doesnt seem to work -it accepts the syntax for the items field, but no values are populating in the dropdown? I've tried known jobtiltes for the value

     

    Equally could this be modified once correctly working to be based on a startswith value - so "General Manager" would capture all jobtitles starting with that - which may be "General Manager this" "General Manager That"

     

    Regards 

     

    James

  • JC75 Profile Picture
    94 on at

    Any additional help with this as I cant still get it to work

  • mlaurie Profile Picture
    50 on at

    I too would love to see a resolution to this process. 

  • EricVieth Profile Picture
    2 on at

    Instead of Filter, I used Search and had success. I believe its because Filter returns a table, where Search, returns the value in a table.  So try Search(Microsoft365Users.SearchUser(),"General Manager","JobTitle")

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 382 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 329

#3
WarrenBelz Profile Picture

WarrenBelz 187 Most Valuable Professional

Last 30 days Overall leaderboard