Add support for descending sort order to OneDrive for Business API
I want to retrieve a list of OneDrive files sorted by created date (descending), i.e. newest first. This can be achieved with a OneDrive personal account by appending
$orderby=createdDateTime desc to the graph query, but this returns an error for a business account.
Thank you for your feedback! We are investigating the technical requirements to see if we can move this to the backlog. We will post updates here as a decision is made. More votes would help prioritize this feature. -EY
Ole Martin Pettersen commented
Please make this happen!
yes, enhance order by functionality to personal & business OneDrive or return items in user specified order by default if no orderby specified.. Personal OneDrive gives you option to sort items in custom order, but there is no way to retrieve items in custom order via Graph API.
Christian Vorhemus commented
I would need this right now for a customer project...