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 / Drop Down with a list ...
Power Apps
Answered

Drop Down with a list of Employee's Name coming from Office D365 Users List

(0) ShareShare
ReportReport
Posted on by 289

Hi Community,

 

I need a DropDown that contains a list of all office D365 Users and default of the dropdown set to the user that is using the PowerApps. 

 

I tried this function in the Item: Office365Users.SearchUser({searchTerm:""}).DisplayName but it doesn't work. I think it's because the search term is looking for blank value but I am not too sure how to get rid of that part and just return a list of names.

 

Please help, thank you. 

Categories:
I have the same question (0)
  • Verified answer
    eka24 Profile Picture
    20,923 on at
    it strange it not working for you.
    Office365Users.SearchUser({searchTerm:""}).DisplayName works, but if not try a collection

    Create a collection:

    ClearCollect(MyUsers,Office365Users.SearchUser({searchTerm:""}).DisplayName)

     

    Then use the collection name in the Dropdown:

    MyUsers

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • lliu_western Profile Picture
    289 on at

    Thank you. Still not showing any values. I am wondering if it could be something to do with my access of the office365 list. I will check on that. Thank you. 

  • eka24 Profile Picture
    20,923 on at

    Ok check and give the feedback

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • Verified answer
    lliu_western Profile Picture
    289 on at

    My original formula worked all the sudden. For some reasons, it wasn't loading the names. However, it is not showing every available names, only showing the names start with A. I am guessing it's because the list is too long. 

  • eka24 Profile Picture
    20,923 on at

    You can try it on a combobox instead of dropdown

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Haque Profile Picture

Haque 84

#2
WarrenBelz Profile Picture

WarrenBelz 79 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 40 Super User 2026 Season 1

Last 30 days Overall leaderboard