Cannot retrieve list of tasks for a user except for me

Reshmee Auckloo 26 Reputation points

Even I have consented to all the required permissions Tasks.Read, Tasks.ReadWrite, Group.Read.All, Group.ReadWrite.All, I am unable to get tasks for another user other than me. Does the API /users/{id}/planner/tasks allow to retrieve tasks for specified user?
I can retrieve the tasks for the logged in user , e.g.[@](/users/na/?userId=a28c79c1-c609-48db-b55f-1783d1187afb) , but if I tried to get tasks for another user , e.g.,[@](/users/na/?userId=a28c79c1-c609-48db-b55f-1783d1187afb) I get Forbidden - 403 .

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,121 questions
0 comments No comments
{count} votes

Accepted answer
  1. ShivaniRai-MSFT 2,726 Reputation points

    Hi @Reshmee Auckloo ,

    As per this Documentation currently application permission is not supported for planner tasks. And because of that we can not retrieve tasks for any other user. This Graph API /users/{id}/planner/tasks allow to retrieve tasks for current signed in user, here id is the current signed-in user's id.

    Feature request idea is already created here, you can upvote it. This forum is actively monitored by Microsoft team and make the enhancements to Microsoft Graph APIs.

    If the answer is helpful, please click Accept Answer and kindly upvote it. If you have any further questions about this answer, please click Comment.

    0 comments No comments

0 additional answers

Sort by: Most helpful