question

NGUYENVanThanh-1459 avatar image
0 Votes"
NGUYENVanThanh-1459 asked DanKershaw-5643 commented

How to sort user list in graph api

Hi everyone!

I'm trying to sort users list in graph api by more field.
Ex: order by department, jobTitle...
But all of them is not support now. only displayName and userPrincipalName is supported.
https://docs.microsoft.com/en-us/graph/api/user-update?view=graph-rest-1.0&tabs=http

Is there anyway to me implement it?

Thank you so much!

microsoft-graph-users
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Department or jobTitle is not an property that can be sorted.

0 Votes 0 ·

Thank for your comment.
I know that. just only displayName and userPrincipalName is supported.
But I finding a solution for make it possible :D

0 Votes 0 ·

1 Answer

KalyanChanumolu-MSFT avatar image
1 Vote"
KalyanChanumolu-MSFT answered DanKershaw-5643 commented

@NGUYENVanThanh-1459 Thank you for reaching out.

Unfortunately, it is not possible to sort on those properties as of today.
You can submit a feature request and we will prioritize it accordingly.


If an answer is helpful, please "Accept answer" or "Up-Vote" which might help other community members reading this thread.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.