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 / How to pull list of al...
Power Apps
Answered

How to pull list of all office 365 users list in PowerApps?

(0) ShareShare
ReportReport
Posted on by

I need to pull all office 365 users globally...

I know Power Apps only read up to 2000 items, I want to use a collection for all users globally.

 

I tried this:

Filter(UsersOffice365.SearchUser(); Not(Blank()))

 

Categories:
I have the same question (0)
  • PowerAddict Profile Picture
    7,316 Most Valuable Professional on at

    Hi @Gorilla_8 ,

    Just to make sure I am understanding this, you want to connect all Office365Users into a collection? 

     

    ---
    If you like this reply, please give kudos (Thumbs Up). And if this solves your problem, please mark this reply as a solution by selecting Accept as Solution. This makes it easier for others to find answers to similar questions. 

     

    Thanks!

    Hardit Bhatia

    Microsoft Business Applications MVP

    Microsoft Certified Trainer MCT

    Blog | Twitter | LinkedIn | Facebook | YouTube  |  Email

  • Gorilla_8 Profile Picture
    on at

    @PowerAddict 

    Yes! I Wanna get all the data of Office365Users

  • PowerAddict Profile Picture
    7,316 Most Valuable Professional on at

    What happens when you do this?

    ClearCollect(
     colUsers,
     Office365Users.SearchUserV2().value
    )

     

    ---
    If you like this reply, please give kudos (Thumbs Up). And if this solves your problem, please mark this reply as a solution by selecting Accept as Solution. This makes it easier for others to find answers to similar questions. 

     

    Thanks!

    Hardit Bhatia

    Microsoft Business Applications MVP

    Microsoft Certified Trainer MCT

    Blog | Twitter | LinkedIn | Facebook | YouTube  |  Email

  • Gorilla_8 Profile Picture
    on at

    @PowerAddict 

    .value is not avaliable

  • PowerAddict Profile Picture
    7,316 Most Valuable Professional on at

    Then you are probably using the SearchUser function. Try using the SearchUserV2 function. I think it gives 1000 records by default. 

     

    ---
    If you like this reply, please give kudos (Thumbs Up). And if this solves your problem, please mark this reply as a solution by selecting Accept as Solution. This makes it easier for others to find answers to similar questions. 

     

    Thanks!

    Hardit Bhatia

    Microsoft Business Applications MVP

    Microsoft Certified Trainer MCT

    Blog | Twitter | LinkedIn | Facebook | YouTube  |  Email

  • Gorilla_8 Profile Picture
    on at

    @PowerAddict 

     

    With SearchUserV2  worked thanks, but I need more than 1000, I need all users...

  • PowerAddict Profile Picture
    7,316 Most Valuable Professional on at

    Can you please state your exact use case? I am curious to know why you would need more than 1000 users. If its a searchable combo box, you can always enter the search criteria in this formula to reduce the number of users that meet the criteria.

     

    ---
    If you like this reply, please give kudos (Thumbs Up). And if this solves your problem, please mark this reply as a solution by selecting Accept as Solution. This makes it easier for others to find answers to similar questions. 

     

    Thanks!

    Hardit Bhatia

    Microsoft Business Applications MVP

    Microsoft Certified Trainer MCT

    Blog | Twitter | LinkedIn | Facebook | YouTube  |  Email

  • Gorilla_8 Profile Picture
    on at

    @PowerAddict 

     

    Exactly what I need, I'm going to use a combobox to pull all users, but when I search for the user, it doesn't appear due to the limitation of 1000 users.

     

     

    So when he selects the user the email will come in another field to use in Power Automate

  • PowerAddict Profile Picture
    7,316 Most Valuable Professional on at

    What is the Items property of your combo box?

  • Gorilla_8 Profile Picture
    on at

    @PowerAddict 

     

    UsuáriosdoOffice365.SearchUser({searchTerm:ComboBox2_1.SearchText;top:999})

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 483

#2
WarrenBelz Profile Picture

WarrenBelz 399 Most Valuable Professional

#3
11manish Profile Picture

11manish 327

Last 30 days Overall leaderboard