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

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Microsoft Entra ID con...
Power Apps
Unanswered

Microsoft Entra ID connector to get all groups and users

(1) ShareShare
ReportReport
Posted on by 51
Hi,

Is it possible to retrieve groups and their members from Microsoft Entra ID?

I need to create a feature for searching employees. My plan is to use Power Apps to build the dashboard and connect it to Microsoft Entra ID. The goal is to add a combo box to filter groups and a search box to find users within those groups. The group members would then be displayed in a gallery.

I've been exploring the Microsoft Entra ID connector but am unsure how to use it effectively. Should I use Power Automate to retrieve data from Entra ID and display it in Power Apps, or can this be done entirely within Power Apps?

If the above approach isn’t feasible, feel free to suggest an alternative solution. I would appreciate not getting any ChatGPT answers since it suggests some actions that doesn't exist.

Thanks and regards,

Categories:
I have the same question (0)
  • Verified answer
    NickWarner Profile Picture
    113 on at
    Microsoft Entra ID connector to get all groups and users
    Yes you can! I use it to define an admin group in a collection that controls access to a settings screen. You need an Office groups data source.
     
     
    I then collect the groups members like so:
     
     
    ClearCollect(
        colGroupMembers,
        Office365Groups.ListGroupMembers("<Entra Group Object ID>").value
    );


    You can get a list of groups using: 
    Office365Groups.ListGroups({'$top':100}).value

    you can also use a $filter in list groups so perhaps tying it to an input box to filter on group name or something if you want a search

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 231 Super User 2025 Season 2

Last 30 days Overall leaderboard