web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Building branch contac...
Power Apps
Unanswered

Building branch contact list with O365Users connector

(0) ShareShare
ReportReport
Posted on by 85

Hello,

 

I am trying to build a very simple contact list for our branch with a search field and a gallery.

 

There are thousands of employees all over the world which I don't want to show at all.

 

For the gallery Items I used this syntax:

 

If(EmployeeTxt.Text=""; Office365Users.SearchUser({top:999});
Filter(Office365Users.SearchUser({searchTerm:EmployeeTxt.Text; top:200}); AccountEnabled=true; CompanyName="POCR"))

 

 

  1. If the search field (ExmployeeTxt.Text) = "" (default value), I would like to show every active O365 user with CompName="POCR"
  2. If I start inputting characters the results appear very random (but correct) - One letter will result in one-two search results, two letters sometimes show up to 10 results etc.

 

Is there a way to limit the O365 connector to just CompanyName="POCR" somewhere on the input so it doesn't have to filter in thousands and thousands of lines? Or is there a way around it?

 

Thanks for your input.

Categories:
I have the same question (0)

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard