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 / Copilot Studio / Create Agent using Cop...
Copilot Studio
Unanswered

Create Agent using Copilot Studio to pull all groups from Entra (Azure)

(0) ShareShare
ReportReport
Posted on by 2
Seeking guidance from anyone who has built a Copilot Studio agent capable of retrieving all groups and their members from Microsoft Entra ID
Categories:
I have the same question (0)
  • Michael E. Gernaey Profile Picture
    53,969 Moderator on at
     
    Need a little more information.
     
    The pulling of the data is easy, that is done via a Flow and there are plenty of examples that exist, so the real question is, what is the end to end scenario you are trying to build versus just this part of it.
     
    That will help.
     
    But as an example.
    You could create a Topic where if a person asks for the list (which would be huge and take a long while to run, as there are many groups that have nothing to do with people exactly).
     
    Topic Triggers
    You create a Tool (aka a flow) that goes off and lists all the groups (security, distribution, O/M365) and creates an array or a string or whatever you want, and pass that back to the Topic.
     
    Then the topic does whatever it is you want to do with it, assuming the message isn't too big to handle.
     
     
  • PU-17072032-0 Profile Picture
    2 on at
    Thanks, Michael. I believe the piece I'm missing is how to establish the connection between Copilot Studio and Entra. I'm not quite sure how to set that up.
  • Michael E. Gernaey Profile Picture
    53,969 Moderator on at
     
    BTW I wanted to clarify also,
     
    Do you want all different types (Security, Distribution, M/O365?).
     
    And how do you want it formatted? As many groups will be within other groups as well, so are you looking for a giant hierarchy?

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 594

#2
chiaraalina Profile Picture

chiaraalina 170 Super User 2026 Season 1

#3
deepakmehta13a Profile Picture

deepakmehta13a 118

Last 30 days Overall leaderboard