Hello Hadi Mahmood,
Thank you for reaching out to Microsoft Support!
For your problem, we suggest that you can use JSON batching to combine multiple HTTP requests into a single request and retrieve all tasks (both assigned and planned) from a single request.
POST https://graph.microsoft.com/v1.0/$batch
Accept: application/json
Content-Type: application/json
{
"requests": [
{
"id": "1",
"method": "GET",
"url": "/users/{user-email}/todo/lists/tasks"
},
{
"id": "2",
"method": "GET",
"url": "/users/{user-email}/planner/tasks"
}
]
}
For more information about JSON batching please check this document:
https://learn.microsoft.com/en-us/graph/json-batching
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.