Building custom solutions that extend, automate, and integrate Microsoft 365 apps.
Thank you for posting your question in the Microsoft Q&A forum.
After reviewing the available Microsoft documentation, I could not find any official source that specifies the exact ordering algorithm used by the Planner “My Tasks” board when grouped by Progress (i.e., which field(s) determine the card order in that aggregated board).
What the docs do state is:
-
plannerProgressTaskBoardTaskFormat.orderHintis a hint used to order a task in the Progress view of a task board, and it is retrieved viaGET /planner/tasks/{id}/progressTaskBoardFormat. -
plannerTask.assigneePriorityexists and is described as a hint used to order items in a list view (but the docs do not say it is the rule for My Tasks board ordering).
Why you may see a mismatch vs. the My Tasks UI
Even if you correctly apply GET /planner/tasks/{id}/progressTaskBoardFormat and sort by orderHint, the “My Tasks” experience can still diverge because My Tasks (All) is an aggregation across multiple sources (including Flagged emails, and tasks from basic plans and premium plans, plus other task sources listed under “Assigned to me”).
At the same time, Microsoft Graph’s Planner API only supports basic plans, so the data you can retrieve and order via Planner endpoints may be only a subset of what the My Tasks UI is showing.
Practical workarounds
- For Planner basic tasks only (closest to documented behavior):
- Group tasks into Progress columns using the task’s
percentCompletestate (Progress view is organized by this field) and then sort within each column usingprogressTaskBoardFormat.orderHintfromGET /planner/tasks/{id}/progressTaskBoardFormat.
- Group tasks into Progress columns using the task’s
- If you must produce a stable order even when hints are missing or UI differs:
- Use a deterministic fallback sort (e.g.,
progressTaskBoardFormat.orderHintwhen present, thenassigneePrioritywhen present, thendueDateTime, thencreatedDateTime/id). Note: only the existence/meaning of these hint fields is documented; the fallback logic is an implementation choice to keep results stable.
- Use a deterministic fallback sort (e.g.,
I hope the information above helpful.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.