cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
min_
Level: Power Up

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
Community Support Team
Community Support Team

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
thirdimage

Power Automate Community User Group Member Badge

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

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 135 members 4,840 guests
Please welcome our newest community members: