microsoft-graph-apimicrosoft-graph-plannertasks

Does Microsoft Graph SDK supports filtering of Planner Tasks


My application tries to get the list of Planner Tasks via plan Id and with filtering, something like this:

Microsoft Graph Planner API does not return error but seems it completely ignores $filter parameter and returns whole list.

How to execute query with filtering?


Solution

  • The /tasks endpoint does not support $filter. Not all Graph endpoints support OData query parameters, and those that do typically only support a subset of them.

    Barring a few exceptions where the docs have not been updated, if a Graph endpoint supports query parameters for a given operation, those parameters will be outlines in the Optional query parameters section of the operation (e.g. List Users).