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 / Collect user's Azure A...
Power Apps
Unanswered

Collect user's Azure AD Groups by name

(0) ShareShare
ReportReport
Posted on by 446
ClearCollect(
 MyGroups, 
 AddColumns(
 AzureAD.GetMemberGroupsV2(MyProfile.id, false).value, 
 "GroupName",
 AzureAD.GetGroup(Value).displayName
 )
);

The above formula grabs all of a user's Azure AD groups, which is great. I would like to further tweak this to only get the groups that contain a specific word, say "Employees."

 

I'm hoping that by having it run with a parameter that it would speed up this process as it currently takes 10-15 seconds to fetch this data. If this won't be the case, please let me know and I'll simply continue using this and just apply a filter to my drop down to achieve my goal.

 

Thank you!

Categories:
I have the same question (0)
  • Pstork1 Profile Picture
    69,601 Most Valuable Professional on at

    You could easily filter the results before storing it in a collection.  But that won't improve the performance.  I don't think there will be any way to make it run faster.

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 335 Most Valuable Professional

#2
11manish Profile Picture

11manish 166

#3
sannavajjala87 Profile Picture

sannavajjala87 71 Super User 2026 Season 1

Last 30 days Overall leaderboard