How do you update a To-Do Task as Complete when the Planner Task that created the ToDo is marked complete?

AprilB 1 Reputation point
2021-07-06T15:13:30.423+00:00

I have created a simple flow: Trigger, when task is assigned to me in Planner, get task, Create Microsoft To Do (I want a list of my planner tasks in Outlook so i can have a nice printable list alongside my calendar schedule).

I manage my tasks in Planner, so when I mark one as Complete, I want the cooresponding Outlook/Microsoft to-do task to update as complete too. If I create a new Flow triggered by "planner task completed", I can't figure out how to "get" the corresponding Outlook/ToDo task so i can update it. (the outlook/microsoft To Do gets an auto-generated ID when it's created in the first flow and i cant figure out how to call it up or link it back to the planner task, but the flow requires the ID of the to do to fetch it) And if i use the first flow to update task as complete (because i can at least fetch the records so i can update them), it doesn't trigger when i check as completed in planner because the entire flow starts when I assign myself a task, which doesn't happen when I mark it as complete.

  • how can I set up the original trigger to update when the task is complete, OR
  • how can I fetch the Microsoft To Do record in a new Flow, OR
  • what other ideas do you have :)

Thanks guys!

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,442 questions
{count} votes

1 answer

Sort by: Most helpful
  1. JamesTran-MSFT 36,351 Reputation points Microsoft Employee
    2021-07-07T23:18:07.377+00:00

    @AprilB
    I'm glad that you resolved your issue with the Power Automate Community post that you referenced, and thank you for the posting the solution here so others experiencing the same issue can easily reference this!

    https://powerusers.microsoft.com/t5/Building-Flows/Getting-a-Outlook-task-ID-based-on-Planner-title-outlook-tasks/m-p/209252#M22058

    If you have any other questions, please let me know.
    Thank you for your time and patience throughout this issue.

    ----------

    Please remember to "Accept Answer" if any answer/reply helped, so that others in the community facing similar issues can easily find the solution.

    0 comments No comments