Graph API: Add OData $filter support for Planner Tasks (e.g. /me/planner/tasks)
Currently it's not possible to filter tasks using the Microsoft Graph REST endpoints for Planner.
E.g. this does NOT work, but should:
Currently the filter parameter will be ignored, all tasks are returned instead.
Many users have plans that are very large and supporting these kinds of APIs would result in an unpredictable experience for your users, since queries could be throttled.
The best approach is to use the one taken by our first-party client. Retrieve all the tasks and then filter them client side.
Our APIs are performant, so retrieving tasks and processing them locally should be easy. For large datasets, you can use diff sync to retrieve any updates that have happened on the service and update your local cache.
Heinrich Ulbricht commented
Sad to hear but appreciate the definitive response.
Given that this is now no longer in beta (i.e. it is available under /v1.0/) - it would really be nice if $filter actually worked.
It seems that $orderby and $top also do not work.. so therefore it isn't really possible to workaround the lack of $filter. Attempting to retrieve all tasks and filter on the client side is just not feasible for a production application.
Brian Smith commented
You might also want to post to the Planner UserVoice too Heinrich - https://planner.uservoice.com/forums/330525-microsoft-planner-feedback-forum