web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Updating Outlook 365 c...
Power Automate
Answered

Updating Outlook 365 calendar entry thout knowing its ID

(0) ShareShare
ReportReport
Posted on by 6

Hi there,

 

I managed to copy a calendar entry from one calendar to another (in order for it to be visible for a group).

But I also want to update and even delete that entry in the group calendar when changes are made to the original entry.
Now I can't seem to get my head around how I can update this entry when the source entry (the one it has been copied from) changes.

I found an action that can update a calendar event but only when its ID is known but in the flow I only know the ID of the source

that triggered the flow but not the id of the destination.

Is there a way to search for a calendar entry and return its ID?

How would you update a calendar entry that you don't know the ID of?

 

Best regards,

 

Chris

 

Categories:
I have the same question (0)
  • Verified answer
    Heartholme Profile Picture
    1,278 Super User 2024 Season 1 on at

    Hei @HerrOlsen , 

     

    This should be quite doable. What you have to do is when you create a new event, you have to put the ID of both the original ID and the new ID in a sharepoint list for example, to use that as a support table. Like this: 

     

    Heartholme_0-1651826149998.png

    1. Create a SP list with two columns (OrigID, NewID - for example)

    2. Make a switch depending on which action is happening (added, deleted or modify). 

    3. When an event is created, create the subsequent event in the new calender and collect both of the IDs in the same sharepoint list by using create item with both of the IDs. 

     

    When a event is deleted: 

    1. Use a get item and filter on the column with your OrigID (Remeber Filter query is case sensitive, so you have to put the exact column header string where i have 'Title', then 'eq' and the ID of your orignal event. 

    2. Then put in a deleted event and use the NewID value from your sharepoint list, which is connected to your OrigID in the sharepoint list. 

     

    This should do the trick, but let me know how it goes 😄

     

    { Please click Accept as solution ✔ if my post answered your question. }
    { This will in turn help others find solutions to similar questions. }

    Best Regards
    Heartholme

     

     

     

  • HerrOlsen Profile Picture
    6 on at

    Hi @Heartholme,

    works like a charm.
    Since I am quite a newbie I didn't even think about using a sharepoint list as a mappingtable between the two event-IDs.
    Thank you very much.


    Chris

  • Heartholme Profile Picture
    1,278 Super User 2024 Season 1 on at

    @HerrOlsen 

     

    Glad to hear that it works like intended! Once you get a bit more experience, solutions like this comes natuarally. A lot of it has to do with just knowing what you can use to solve specific issues, so keep at it! 😄

  • kkvirani-phx Profile Picture
    2 on at

    works great. i was able to create and delete. but still can't seem to figure out to update since it creates duplicates

  • Heartholme Profile Picture
    1,278 Super User 2024 Season 1 on at

    Hi @kkvirani-phx

     

    You could have two actions in the updated switch, first a delete and then a create with the new updated information. That's one way to do it. 

     

    Let me know how it goes. 

  • PO-27031416-0 Profile Picture
    2 on at
    Hi 
    I have done like  explained with a Share Point list and it has worked fine for about a year but after this new year the event ID is changing after them being created. So after new year my flow failed every time they are being changed or deleted. 
     
    I have tested to send an e-mail to myself with the event ID of a created event and it dont match the ID in the Share Point list
     
    Does any one have the same issue?
    Skärmbild 2025-03-27 155542.png

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 573

#2
Valantis Profile Picture

Valantis 407

#3
11manish Profile Picture

11manish 387

Last 30 days Overall leaderboard