Search code examples
office365microsoft-graph-apidelta

MicrosoftGraph Delta API filter and orderby not working


I tried to get drive changes(ACL, Edit and Create document, etc.,) of OneDrive for Business for a particular user using delta endpoint of MicrosoftGraph API. I have tried the following URI to get the latest document changes.

https://graph.microsoft.com/v1.0/me/drive/root/delta?$orderby=lastModifiedDateTime+desc&$filter=lastModifiedDateTime+gt+cast%28%272016-07-10%27%2C+Edm.DateTimeOffset%29

In the result of the above call, the filter is not working and the sorting is in ASC order instead of DESC.

Is there any mistake in the above URI? Please help me in this.


Solution

  • As per the updated documentation Microsoft Graph delta for OneDrive doesn't support to $filter and $orderby.

    Thanks Ryan Gregg for making the changes to the documentation.