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 / Get Azure AD Security ...
Power Apps
Answered

Get Azure AD Security Group from Power App

(0) ShareShare
ReportReport
Posted on by 10

In Power App, I want to get data for all Azure AD security group which start with "SG_AA_" , and then save it to a collection with the "Security Group name" and "Security Group ID".

 

How should i do?

 

Thanks very much!

Categories:
  • CNT Profile Picture
    10,921 Super User 2024 Season 1 on at

    @Eason160 The Power Apps Azure AD Connector has a function to get the group if you know its ID (https://docs.microsoft.com/en-us/connectors/azuread/#get-group) whereas it does not have a function to list all the groups.

    To do that, you can build a Custom Connector using the GRAPH API, https://docs.microsoft.com/en-us/graph/api/group-list?view=graph-rest-1.0&tabs=http

  • Eason160 Profile Picture
    10 on at

    Hi CNT,

     

    Thanks for your reply.

    And i try to create a costom connector, but met issue when try to set "filter" function.

    Eason160_0-1637726019313.png

    Eason160_1-1637726124616.png

    it seems not work. 

    What is the correct format i need to input in the page above?

     

    Thanks very much!

     

     

  • Verified answer
    CNT Profile Picture
    10,921 Super User 2024 Season 1 on at

    @Eason160 Don't put anything in the Query. Get all the groups and Filter them in PowerApps. That's better and also more versatile.

  • Eason160 Profile Picture
    10 on at

    @CNT Thanks for your suggestion.

  • CNT Profile Picture
    10,921 Super User 2024 Season 1 on at

    @Eason160 

    Glad it help!

     

    Please remember to give a 👍 and accept my solution as it will help others in the future.

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 243 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 204 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 122

Last 30 days Overall leaderboard