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 / Office365Users Filter ...
Power Apps
Answered

Office365Users Filter Account

(0) ShareShare
ReportReport
Posted on by 83

I am trying to Filter by Search to show enabled accounts only 

 

I tried this but did not work

 

Filter(
Office365Users.SearchUser({ searchTerm: txtEnterName.Text, top: 500 }),
CompanyName = ddDepartments.Selected.Value), AccountEnabled = true)

Categories:
I have the same question (0)
  • Verified answer
    SpongYe Profile Picture
    5,616 Super User 2025 Season 2 on at

    Hi @uwtsd-shind 

     

    Please try it with the With() function:

    With(
     {UserList: Office365Users.SearchUser({searchTerm:txtEnterName.Text,top:500})},
     Filter(
     UserList,
     CompanyName = dDepartments.Selected.Value,
     AccountEnabled = true
     )
    )

     

    -----------------------
    PowerYsa Power Platform Enthusiast [LinkedIn] | [Youtube]

    I love to share my knowledge and learn from others. If you find my posts helpful, please give them a thumbs up 👍 or mark them as a solution ✔️. You can also check out my [@PowerYSA] for some cool solutions and insights. Feel free to connect with me on any of the platforms above. Cheers! 🍻

  • CU25021858-0 Profile Picture
    83 on at

    this is now resolved

  • SpongYe Profile Picture
    5,616 Super User 2025 Season 2 on at

    @uwtsd-shind 

     

    Good to hear. If I have answered your question, please mark your post as Solved.

    So, the question get is closed and others know that your question got answered.

     


    -----------------------
    PowerYsa Power Platform Enthusiast [LinkedIn] | [Youtube]

    I love to share my knowledge and learn from others. If you find my posts helpful, please give them a thumbs up 👍 or mark them as a solution ✔️. You can also check out my [@PowerYSA] for some cool solutions and insights. Feel free to connect with me on any of the platforms above. Cheers! 🍻

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 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard