$orderby for sharepoint DriveItems

$orderby for sharepoint DriveItems
12

Upvotes

Upvote

 Nov 25 2022
3 Comments (3 New)
New

https://graph.microsoft.com/v1.0/sites/{siteID}/drives/{driveID}/items/{itemID}?$orderby=createdDateTime
 When executing the query above, the response is always: 

{
    "error": {
        "code": "notSupported",
        "message": "Operation not supported",
        "innerError": {
            "date": "2022-11-25T13:01:19",
            "request-id": "5f176875-8f91-4868-8c50-39ff3d39a3c9",
            "client-request-id": "5f176875-8f91-4868-8c50-39ff3d39a3c9"
        }
    }
}

This feature IS documented, so I'd expect this to work.

(https://learn.microsoft.com/en-us/graph/api/listitem-get?view=graph-rest-1.0&tabs=http#optional-query-parameters)

Comments
Copper Contributor

I have exactly the same issue! So frustrating this is not working out of the box, while using the UI it works fine.

Is this feature supported in the v2 graph api?

Copper Contributor
Copper Contributor

Still broken as of Aug 2023.