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 / Sort AzureAD.GetGroupM...
Power Apps
Answered

Sort AzureAD.GetGroupMembers

(0) ShareShare
ReportReport
Posted on by 9

Hi,

 

First of all, I am totally new in Power Apps, so maybe the question is too easy..

I have a dropdown menu where users can search for user from an AD group. To see the users, i'm using this:

AzureAD.GetGroupMembers("<group_id>").value. It is working, but it is sorted on businessPhones.

 

How can I sort this on displayName?

Categories:
I have the same question (0)
  • Verified answer
    StefanW95 Profile Picture
    9 on at

    I found it 🙂

     

    SortByColumns(
    AzureAD.GetGroupMembers("<group_id>").value;
    "displayName";
    Ascending
    )

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

#2
11manish Profile Picture

11manish 210

#3
Valantis Profile Picture

Valantis 169

Last 30 days Overall leaderboard