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 use searchUsers...
Power Apps
Unanswered

How to use searchUsersV2 with multiple search terms

(1) ShareShare
ReportReport
Posted on by 166

Hello

 

I would like to use the SearchUsersV2 to find multiple users :

 

Sort(Office365Users.SearchUserV2({searchterm: ["Dave","Priya"] , isSearchTermRequired:true}).value, DisplayName, Ascending)

 

This only returns results for Dave, and none for Priya

 

I know I can do this by adding a Filter command, however, is it possible to use multiple search terms with SearchUserV2 ?

 

Thanks

Dave

Categories:
  • v-chengfen-msft Profile Picture
    Microsoft Employee on at

    Hi @Daved1 ,

    From the official documentation of the connector, only strings are supported here, and there is no way to query arrays

    vchengfenmsft_0-1676255339974.png

     

     

     

    Best Regards

    Cheng Feng

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 409 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 252 Most Valuable Professional

Last 30 days Overall leaderboard