Efficiently Retrieving All Assigned/Planned Tasks via Microsoft Graph API with single call

Shaikh Shahrukh 0 Reputation points
2025-02-11T10:44:08.62+00:00

Hi.

I am using PowerAutomate to get all of the tasks/assigned tasks for all of the users. I am sending Graph API call. Till now, i have tried two methods.

 

Method 1   https://graph.microsoft.com/v1.0/users/{user-email}/todo/lists/tasks/tasks https://graph.microsoft.com/v1.0/users/{user-email}/planner/tasks

 

Method 2. Get all groups https://graph.microsoft.com/v1.0/groups?$filter=groupTypes/any(c:c+eq+'Unified')

 

Get all plans GET https://graph.microsoft.com/v1.0/planner/plans?$filter=owner eq 'groupId' GET https://graph.microsoft.com/v1.0/groups/{groupId}/planner/plans

 

Get Tasks for each plan GET https://graph.microsoft.com/v1.0/planner/tasks?$filter=planId eq '{planId}'

 

Is there any other way to get all of the tasks without sending multiple calls , ie one call that gets all of the tasks as in the above mentioned methods we will be sending multiple calls. I want to prevent sending multiple calls and only want to get all assigned/planned tasks.

 

Best Regards.
Shaikh Shahrukh

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

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.