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 / Get a list of all mana...
Power Apps
Unanswered

Get a list of all managers

(0) ShareShare
ReportReport
Posted on by 13

is there any way to pull all the managers? I tried to pull all the users in the flexible height gallery and hide those records having no manager and collect the remaining users in the list. but it is too slow, turtle slow.

Categories:
  • Adrian_Celis Profile Picture
    1,652 Moderator on at

    Hi @JunaidAkhtarMPG 

    Are you using the Office365Users connector? How many users are in the directory? thousands?

  • JunaidAkhtarMPG Profile Picture
    13 on at

    active users are from 120 - extended to 150
    including inactive or non-profiled are around 300

  • Adrian_Celis Profile Picture
    1,652 Moderator on at

    Hi @JunaidAkhtarMPG 

    Unfortunately The office365Users connector really is slow, so using it to get hundreds of records is not practical. An alternative would be: Use a Power Automate flow to get items in the Office365Users directory and store them in a Sharepoint (or other) list. Then it would regularly update the list on schedule (depends on your need, maybe 1 day?). So in your app, you can simply just use the Sharepoint list as a data source.

     

    This is a similar problem I had and some community members provided suggestions: link 

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 236 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 207 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 169

Last 30 days Overall leaderboard