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 / List Groups using conn...
Power Apps
Answered

List Groups using connector MS Graphs Groups and Users

(0) ShareShare
ReportReport
Posted on by

Could you please help me with the syntax of the Powerapps connector MSGraphGroupsandUsers.ListGroupsByDisplayNameSearch()

 

I cannot get this to work. MSGraphGroupsandUsers.ListGroupsByDisplayNameSearch({‘$search’:”All”} ) (or whatever search string I use) gives an error.

 

Furthermore, is there a way to list all Groups, i.e. by using a wildcard * in the search string?

 

The connector itself is ok: MSGraphGroupsandUsers.ListUsers() works fine.

 

Thanks in advance for your reply.

Categories:
I have the same question (0)
  • Verified answer
    alaabitar Profile Picture
    1,503 Super User 2024 Season 1 on at

    Hello @JustinsAJ 

    To get list of all groups you could try

    MSGraphGroupsandUsers.ListGroupsByDisplayNameSearch({ search: "*" })

  • JustinsAJ Profile Picture
    on at

    Thanks Alaa, this syntax is correct.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 93 Most Valuable Professional

#2
Haque Profile Picture

Haque 81

#3
Valantis Profile Picture

Valantis 49

Last 30 days Overall leaderboard