Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,263 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Using a graph client query to get a SharePoint folder information by folder name stopped working. It has been working for months until February 11, 2025. (code block below)
It returned the error:
Microsoft.Graph.Models.ODataErrors.ODataError: Filtering non-fields properties other than parentReference/id eq {value} is not supported.
Updating Microsoft Graph nuget package to the latest stable did not solve this issue.
How to solve this?
folderSearch = await _graphClient.Drives[driveId]
.Items
.GetAsync(requestConfig => requestConfig.QueryParameters.Filter = $"Name eq '{folderName}'");