$orderby for sharepoint DriveItems

$orderby for sharepoint DriveItems
4

Upvotes

Upvote

 Nov 25 2022
1 Comments (1 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
Occasional Visitor

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?