Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

O365 - on modified event - delete/modify event in receiver calendar

(0) ShareShare
ReportReport
Posted on by

Hi

 

I'm trying to create a flow, or really multiple flows that will do:

 

1. when event is created in primary calendar, create same event in secondary

2. when event in primary is modified, modify the same event in secondary calendar

 

problem is that the ID's do not match, so when the 2nd flow is triggered by a modification to an event, then it will try to get the event in the secondary calendar but fail because it cannot find the event based on 'id'.

 

Can someone guide me..

I tried to use stuff from this blog:

 

https://brechtvn.wordpress.com/2017/02/05/sync-office-365-calendar-with-google-calandar-using-microsoft-flow/

 

but am not having any luck 😞

  • Miccal Profile Picture
    8 on at
    Re: O365 - on modified event - delete/modify event in receiver calendar

    Will this work for going in the other direction as well?  I would like to have 2 way sync so I can use google assistant to manage my o365 cal.  I know I can use Cortanna but she just doesn't work well on the android phones yet.

  • Omi Profile Picture
    32 on at
    Re: O365 - on modified event - delete/modify event in receiver calendar

    Hi ,

     

    I am also facing the same issue but I have SharePoint calendars. How can I modify and copy the events to the secondary calendar.

  • v-micsh-msft Profile Picture
    on at
    Re: O365 - on modified event - delete/modify event in receiver calendar

    Hi @Anonymous,

    Please take a try to switch the condition as below:

    @contains(items('Apply_to_each')?['Body'],triggerBody()?['Id'])

    See if this would make any difference.

     

    Regards,

    Michael

  • Community Power Platform Member Profile Picture
    on at
    Re: O365 - on modified event - delete/modify event in receiver calendar

    oh and this is my "create event"..

     

    createEvent.png

  • Community Power Platform Member Profile Picture
    on at
    Re: O365 - on modified event - delete/modify event in receiver calendar

    Hi @v-micsh-msft

     

    Thak you SO much for your answer... it's definetely pointing me in the right direction.

     

    There's still something amiss.. let me first show you my setup..

     

    flow.png

     

    When I resubmit this flow after doing a change and updating folders in outlook calendar it gives me 256 entries and a result of "FALSE" for them all..

     

    flowresults.png

     

     

    So I am missing something.. just not sure what...

     

    I can still push a NEW event to the 2nd calendar but the modification flow is not running correctly

  • Verified answer
    v-micsh-msft Profile Picture
    on at
    Re: O365 - on modified event - delete/modify event in receiver calendar

    Hi @Anonymous,

     

    I think you have noticed that there is a condition added before update the Google Calendar Event, which is used to identify the proper Event and get the Event Id from the Get Events action.

    So if here you are working with the Office 365 Event, then you should build a part for Flow to use to find the proper Event in the second Calendar.

    For Example, under your first Flow, when create an Event under Second Calendar, use the Event Body Input as the part to identify the Event.

    Then under the second Flow, use the condition and the body field to fitler the event under second calendar.

    Formula should be:

    @contains(items('Apply_to_each')?['Body'], concat('Calendar Event:',triggerBody()?['Id']))

    See example:

    80.PNG

    83.PNG

    Results:

    84.PNG

     

    Regards,

    Michael

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492