Reputation: 351
I am trying to make the following API call and I expect ordering done based on createdDateTime, however this ordering is not done by Microsoft and I am still getting response in random order, any suggestions to make it work?
GET /v1.0/servicePrincipals/{0}/appRoleAssignedTo?$orderby=createdDateTime+asc
https://learn.microsoft.com/en-us/azure/search/search-query-odata-orderby
Upvotes: 0
Views: 233
Reputation: 1143
Unfortunately, sorting is not currently supported on servicePrincipals.
Upvotes: 1