Msgraph file api - search or filter by lastModifiedTime

shankar 1 Reputation point

Does msgraph file api support search or filter query by lastModifiedTime

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
34,989 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Matt Krause 1 Reputation point

    The documentation indicates that the only odata query parameters supported are $expand, $select, $skipToken, $top and $orderby.

    I've used $filter to work against the 'name' property, but in some quick testing using Graph Explorer 'lastModifiedDateTime' doesn't work.

    Unfortunately, the answer appears to be no.

    0 comments No comments

  2. Jarbas Horst 6 Reputation points MVP

    Hi @shankar ,

    I faced the same issue a couple of days ago. Unfortunately, it is not possible to filter by lastModifiedTime. However, it is possible to filter by Modified 😀$filter=fields/Modified eq '2020-07-08T08:23:03Z'  

    Can you give it a try and let me know if it works?

    Jarbas Horst

    0 comments No comments