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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Delete Series of Group...
Power Automate
Answered

Delete Series of Group Calendar Events

(0) ShareShare
ReportReport
Posted on by 1,387 Moderator

I have a Form that lets employees submit vacation days in a Form. That Form then sets off a Power Automate Flow which creates calendar events on a Group Calendar. Now we need a way for them to cancel vacation requests. Each Event created has the ID of the original Form submission (ex. ID: 1234).

 

I see there is a "Delete event (V2)" action. How can I find the ID of events that match specific criteria based on invitee and/or description?

Categories:
I have the same question (0)
  • v-qiaqi@microsoft.com Profile Picture
    on at

    Hi @IPC_ahaas,

    Could you please tell me that which special event do you want to delete, how could you get this event?

     

    You should firstly get the special event and delete it by its ID, here is a simple flow:

    vqiaqimsft_0-1662357163749.png

     

  • IPC_ahaas Profile Picture
    1,387 Moderator on at

    I hope to get the event by the event description, which would be "ID: 1234" or something like that. I am populating that value at the event creation.

     

    This is a Group Calendar, so there is no "Get events (V4)", only the following:

    IPC_ahaas_0-1662470347839.png

     

  • MaleselaR Profile Picture
    83 on at

    Hi @IPC_ahaas,

     

    You're going to need to use the "Send an HTTP request" action to get the events then loop through them.

     

    If you don't know the group Id, you would need to first use the "List groups that I own or belong to", an "Apply to each" action with a condition to retrieve the Id of the group by its name or something. This only needs to be done once and can be removed once you get the group Id.

     

    Graph Explorer | Try Microsoft Graph APIs - Microsoft Graph can be used to build the URI and see the response.

     

    I hope this helps.

  • IPC_ahaas Profile Picture
    1,387 Moderator on at

    I have the GroupID. I see there are three Send an HTTP request... actions:

     

    IPC_ahaas_0-1662555558043.png

     

    Both the Office 365 Users and Office 365 Outlook are looking for a URI. The link you provided is a little daunting. When I click on "group's events" it gives me a giant array of data. Is that the URI?

     

  • Verified answer
    MaleselaR Profile Picture
    83 on at

    Hi @IPC_ahaas,

     

    You should use the office 365 groups Send HTTP request and use the URI from that link (but remember to use your own group Id). The value property will have all the events from the specific group and that is what you will need to loop through.

     

    MaleselaR_1-1662616711255.png

     

    I hope this screenshot helps

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard