How to sort user list in graph api

NGUYEN Van Thanh 21 Reputation points
2021-07-05T06:29:49.193+00:00

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://learn.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
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,449 questions
{count} votes

Accepted answer
  1. KalyanChanumolu-MSFT 8,321 Reputation points
    2021-07-05T07:52:23.507+00:00

    @NGUYEN Van Thanh 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 person found this answer helpful.

0 additional answers

Sort by: Most helpful