cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

Outlook 365 Calendar updates to Microsoft Planner

I've fried my brains trying to work this out.

 

I'm trying to 'sync' Office 365 Outlook Calendar with Microsoft Planner. This is what I'm trying to / tried to achieve.. Help would be greatly appreciated. Creating a task is no issue, the issue that arise is when the calendar event is updated/ deleted on Outlook Calendar.

 

Action: When an event is added, updated or deleted (Office 365 Outlook)

[ Parallel Branch 1 ]

  •  Set condition control to Action Type = Added
  • If yes, Create a task (Microsoft Planner)

[ Parallel Branch 2 ]

  • Set condition control to Action Type = updated
  • If yes, Update a task (Microsoft Planner) 
Spoiler
Task ID cannot be obtained because it would be dependent on the future task created on Planner. Is there any workaround on this?

[Parallel Branch 3 ]

  • Set condition control to Action Type = deleted
  • If yes, Update a task (Microsoft Planner)
Spoiler
Since we cannot delete tasks on Planner, so I would like to update the task to 'mark as done' to get rid of it from the bucket. Again, Task ID would be unobtainable since it is dependent on the task created in future events on the calendar

TDLR;

How do I obtain the variable Task ID of future events that will be added on the calendar and applying that to the condition of updating planner? Is there a way we can rewrite / set Task ID to match Task Title (which will be configured as:  

and(triggerBody()?['Start'],triggerBody()?['Subject'])

 

 

Many thanks!

1 REPLY 1
Highlighted
Community Support
Community Support

Re: Outlook 365 Calendar updates to Microsoft Planner

Hi @min_ ,

 

You could consider saving the event id in Task description and configuring Update task details action under Create task action.

If you need to update the task, first check whether the current task’s description contains the current event id, and if so, update the planner task.

Image reference:

7.PNG

It should be noted that if you want to update a planner task details, it is best to execute the update task details action after 5 minutes of task creation, as below:

8.PNG

The configuration of deleting a task is basically similar to update, just change Progress filed.

 

Hope it helps.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Top Kudoed Authors
Users online (9,766)