I am using the .net SDK. Trying to filter a large list with Microsoft Graph,
My query works fine using .Items.Request().Expand("fields").GetAsync();
However, if I add a filter, it doesn't work as expected.
I have tried two approaches :
Add
.Expand("fields").Filter("fields/Archived eq false").GetAsync();That works, but returns all the list items without filtering.Add
.Expand("fields($filter=Archived eq false)").GetAsync();This does not work - it gives me an error that expand, select, and filter are the only allowed queries.
What does work is ("fields($select=Archived)"), but of course, no filtering is done.
So how are we to query large lists using Microsoft Graph?