cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
StefanW95
New Member

Sort AzureAD.GetGroupMembers

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?

1 ACCEPTED SOLUTION

Accepted Solutions
StefanW95
New Member

I found it 🙂

 

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

View solution in original post

1 REPLY 1
StefanW95
New Member

I found it 🙂

 

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

View solution in original post

Helpful resources

Announcements
User Groups Public Preview

Join us for our User Group Public Preview!

Power Apps User Groups are coming! Make sure you’re among the first to know when user groups go live for public preview.

Power Apps Community Call

Monthly Power Apps Community Call

Did you miss the call?? Check out the Power Apps Community Call here!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (44,443)