Select query parameter does not work with Todo Task
Describe the bug
Any attempt to use $select query parameter to limit amount of Todo task data ends with HTTP 400 "Invalid request" exception.
I tried to use $select in requests of get tasks from tasks list and get individual task. Both requests throw "Invalid request" exception.
Expected behavior
Get tasks from list and get individual task should work correctly with $select parameter as it's said in documentation
How to reproduce
// get collection of tasks lists
var tasksLists = await graphClient.Me.Todo.Lists.GetAsync();
// get Id of the first tasks list
var listId = tasksLists.Value.First().Id;
// try to get tasks with $select parameter
// This code throws exception "Invalid request"
var tasks = await graphClient.Me.Todo.Lists[listId]
.Tasks
.GetAsync(rc => rc.QueryParameters.Select = new string[] {"id", "title"})
.ConfigureAwait(false);
SDK Version
5.73.0
Latest version known to work for scenario above?
No response
Known Workarounds
there is no workarounds
Debug output
No response
Configuration
- Windows 11
- .Net Framework 4.8
Other information
The same question on StackOverflow https://stackoverflow.com/q/79609269/987850
This behavior is caused by the backend service and not the SDK. This repository and its issues are dedicated to the SDK, not the backend service.
You can contact the Microsoft Graph support team for service-related questions here: https://developer.microsoft.com/graph/support Alternatively, you can use the Microsoft Q&A forum for community support: https://learn.microsoft.com/en-us/answers/tags/161/ms-graph
@baywet Please update your Graph documentation, remove information about $select because it does not work.