Cannot retrieve list of tasks for a user except for me

Reshmee Auckloo 21 Reputation points
2022-04-12T11:07:24.33+00:00

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. https://graph.microsoft.com/v1.0/users/me[@](/users/na/?userId=a28c79c1-c609-48db-b55f-1783d1187afb).onmicrosoft.com/planner/tasks , but if I tried to get tasks for another user , e.g., https://graph.microsoft.com/v1.0/users/testuser1[@](/users/na/?userId=a28c79c1-c609-48db-b55f-1783d1187afb).onmicrosoft.com/planner/tasks I get Forbidden - 403 .

Microsoft Graph Tasks Plans API
0 comments No comments
{count} votes

Accepted answer
  1. ShivaniRai-MSFT 2,686 Reputation points
    2022-04-12T11:33:55.25+00:00

    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