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

Shaikh Shahrukh 5 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 Security | Microsoft Graph
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. Akhil Nasalwai - MSFT 1,685 Reputation points Microsoft External Staff
    2025-02-14T13:41:50.3533333+00:00

    Hello Shaikh Shahrukh,

    Thank you for contacting Microsoft!

    For the query of retrieving all assigned/planned tasks using Microsoft Graph API with a single call, Unfortunately there is no way for the mentioned requirement. I completely understand the impact it is causing and apologies for the inconvenience. I would recommend You can submit this feature request using this support link, which will be monitored by Microsoft team and make the enhancements to Graph API

    Hope this helps.

    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.


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.