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 / Create ComboBox Office...
Power Apps
Unanswered

Create ComboBox Office 365 Users only show specific Usersthi

(0) ShareShare
ReportReport
Posted on by 232

Hello All,

 

I want to create a combobox dropdown that will use office365users but I only want it to display 3- 4 names of my choosing. Is there a way to do this? I have tried some different search typs with filters and cannot get it to work how I need.

 

My end games is a combobox that uses Office365Users and the dropdown would only show Display Name 1, Display Name 2, Display Name 3, Display Name 5.

 

I would like for it to look something like this.

Screenshot 2024-04-30 222508.png

 

Any ideas are greatly appreciated.

 

Collin

Categories:
I have the same question (0)
  • Gochix Profile Picture
    1,937 Moderator on at

    @collinktx ,

     

    What is the criteria of your 3 - 4 names to be displayed?

    _____________________________________________________________________________________
    Please give a thumbs up if I resolved your issue! Please click Accept as Solution to close the topic!

  • collinktx Profile Picture
    232 on at

    @Gochix,

     

    I was hoping to use their displaynames to show them. If I cannot do it that way I was going to look at possibly Department and JobTitle. I just am not sure that I can narrow it down to the 3-4 names I want to be selected with the Department and JobTitle.

  • collinktx Profile Picture
    232 on at

    @Gochix,

     

    My idea was something like:

     

    Filter(
     Office365Users.SearchUser(),
     DisplayName = "John Smith" ||
     DisplayName = "Jane Doe" ||
     DisplayName = "Jim Jones"
    )
  • Gochix Profile Picture
    1,937 Moderator on at

    @collinktx ,

    I don't think so you can filter Office 365 Users directly like this. 

    I would probably collect the User Data in the collection and then you can filter it through as you wish it.


    _____________________________________________________________________________________
    Please give a thumbs up if I resolved your issue! Please click Accept as Solution to close the topic!

  • collinktx Profile Picture
    232 on at

    @Gochix ,

     

    For my collection something like this to get the users?

    ClearCollect(
     colApproverUsers,
     Office365Users.SearchUserV2(
     {
     searchTerm: "Department",
     Top: 5,
     isSearchTermRequired: false
     }
     ).value
    );

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 326 Most Valuable Professional

#2
11manish Profile Picture

11manish 168

#3
sannavajjala87 Profile Picture

sannavajjala87 75 Super User 2026 Season 1

Last 30 days Overall leaderboard