Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building 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.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,605 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,946 Most Valuable Professional

Leaderboard