GET group members orderBy=displayName isn't sorting

Iron Contributor

I'm new to Graph but I'm referencing this MS Docs page The users?$orderby=displayName example works just fine for me. What I want to do is get members of a group and sort that by display name. 

So, when I run the following query I'm still getting a random list of users in the group in no apparent order. 

https://graph.microsoft.com/v1.0/groups/{groupid}/members/microsoft.graph.user?$orderBy=displayName 

I posted this question on another forum and someone says it's working for them. How come it no work for me? 

2 Replies
I'm seeing the same behavior as you... just do the sorting client side.