Graph Drive GetItems Filter has no effect

Sidi_244 0 Reputation points
2024-12-18T18:32:32.6733333+00:00

Hi There

When I use this query: https://graph.microsoft.com/v1.0/drives/DRIVEID/items?%24filter=name%20eq%20%27TEST%27 to filter my drive for items with name = TEST i get returned ALL items on my drive.

This was did not behave like this before. What did change? How can this happen?

Happy for any hints!

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,646 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
3,152 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Xyza Xue_MSFT 26,811 Reputation points Microsoft Vendor
    2024-12-19T03:11:44.62+00:00

    Hi @Sidi_244 ,

    After my testing, none of the Filter properties in the Graph API are currently working, and other users are currently reporting this as well. It's possible that there have been recent changes or updates to the Microsoft Graph API that affect how filtering works. Microsoft has not yet released updated documentation for this change. If you think this matter does not affect you much, my suggestion is that you can wait for a few days. If you do mind and want a quick fix, I suggest you create a new service request in the Azure admin center as an administrator and a more professional person will help you.

    User's image


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.