Showing results for 
Search instead for 
Did you mean: 
New Member

Outlook Calendar Sync

I am currently trying to create a flow which will connect two different Outlook accounts from two different corporations. It's supposed to sync the calendar events created from one Outlook account to the other. 
I got it up and running with a trigger template (When an event is created) and linked it to one Outlook account(under connections).
Then i created the action(Download Events) and linked it to the account which should download the events from said trigger account. 
Only problem is, when i create an event neither are syncing, but the flow is up and running.
Is there something i missed? Some action between the two templates or is it simply not possible to sync two different outlook calendars from different corporations?


Community Support
Community Support

Hi @Joachim_,


Do you want to create a Flow that automatically ignores events that you don't want to sync?

You could try to create a custom Calendar for events that need to be synchronized, and only create events that need to be synchronized in this calendar.

Then select the custom Calendar when configuring the Calendar id.


Please take a try.


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.

Yes thank you i tried that already and i worked quite good.
However, i had a problem with stacking events, deleting events and updating events.
I have now created one which fixes all of the above and now i seem to have a problem with deleting events. 
I created a switch which matches the situation which could be: added events, updated events or deleted events.
When an event is deleted, it won't download the deleted events because of the ISO International format for time(8601).
I checked the international format, and then i crossreferenced with the format i wrote and it seems to be correct. It is also the one i used for updating events and adding events.
Maybe i need to write it in another way because it is about deleted events?

This is what i wrote at "Start Time": 

addDays(items('Apply_to_each')?['start'], -60,'yyyy-MM-ddThh:mm:ssZ')
This is what i wrote at "End Time": 
addDays(items('Apply_to_each')?['end'], 180,'yyyy-MM-ddThh:mm:ssZ')

Første billede til Forum.PNGBillede 2 til Forum.PNG

Hi @Joachim_,


Do you want to filter the eligible event and then get its event Id and then configure it in Delete event action?

Your method seems to be valid in my opinion, but the Id configured in "Delete event" action should not be "Current item". The "Current item" contains not only the event Id, but also other information about the event. .

You should use the expression "items('Iterate_through_deleted_events')['Id']" to get the event id:



What is filled in the specific "items()" depends on the name of your action. If there is a space, you need to replace the space with "_".

Please take a try.


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.

Thank you, i can't currently test it. Because now the timeformat is incorrect, only in "Deleted events". Even when the format is the same in "added events" and "updated events". Is there a difference between the three, when the events are actually deleted? 


This is what is wrote in "start time": 

addDays(items('Apply_to_each')?['start'], -60,'yyyy-MM-ddThh:mm:ssZ')
And this is what i wrote in "end time":
addDays(items('Apply_to_each')?['end'], 180,'yyyy-MM-ddThh:mm:ssZ')



Helpful resources

UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (2,825)