Skip to main content

Notifications

Community site session details

Community site session details

Session Id : dHR8aWPbKYAnN5ff3hC5qy
Power Automate - General Discussion
Unanswered

Automatically Delete/Remove Calendar Events

Like (0) ShareShare
ReportReport
Posted on 9 Jan 2023 14:39:47 by 1,663 Super User 2025 Season 1

I know there is a rule that can be set in exchange to have meetings from a given email be automatically accepted and done so silently (without the end user seeing the request hit their inbox) I have this setup and it works great. However the problem is from time to time the meetings have to get canceled or recreated. This then leaves a canceled event on the users' calendar (shows canceled) which could potentially be side by side with a new event. So I'm looking for options to automatically remove canceled events from calendars server side so the end user doesn't have an old event lingering on their calendar. This is using the Outlook 365 exchange server

  • srduval Profile Picture
    1,663 Super User 2025 Season 1 on 14 Jan 2023 at 03:21:53
    Re: Automatically Delete/Remove Calendar Events

    @Hardesh15  thanks for bearing with me here is the screenshot.canceledCapture.JPGcanceledCapture_Flow.JPG

  • Hardesh15 Profile Picture
    7,087 Super User 2024 Season 1 on 11 Jan 2023 at 16:11:00
    Re: Automatically Delete/Remove Calendar Events

    @srduval  Pls share your flow screens. I have performed similar task last year. if you delete event from event owner account it will automatically delete from users calendar.

    Please 'Thumbs Up' the posts that helped you and 'Accept as Solution' if my post answered your question.

    @Hardesh /Gopenly.in

     

  • bblake8480 Profile Picture
    642 Most Valuable Professional on 09 Jan 2023 at 19:40:20
    Re: Automatically Delete/Remove Calendar Events

    Yeah, for something company-wide, Power Automate probably isn't going to be the best route to take. Can be done, but not ideal.

  • VictorIvanidze Profile Picture
    12,214 on 09 Jan 2023 at 19:38:58
    Re: Automatically Delete/Remove Calendar Events

    @srduval, try to delete the canceled events using MS GRAPH. 

  • srduval Profile Picture
    1,663 Super User 2025 Season 1 on 09 Jan 2023 at 16:34:55
    Re: Automatically Delete/Remove Calendar Events

    @Hardesh15 @barret thanks for the responses, I should clarify that it's mostly automation from a service account that creates meetings or a given circumstance, for other users. If that event subsequently gets canceled or deleted, it shows up on everyone who was invited calendars as canceled in the subject line or title or something. So I'm trying to find a solution not for myself, but companywide if a meeting organizer is a given user silently remove the events from the calendar without leaving the canceled placeholder.

  • bblake8480 Profile Picture
    642 Most Valuable Professional on 09 Jan 2023 at 16:22:06
    Re: Automatically Delete/Remove Calendar Events

    As I recall, cancelled events will get the word "Cancelled" added to the subject line. You could take a couple of approaches in Power Automate to automate getting rid of them. The first is a scheduled flow that looks at the list of upcoming events on a regular basis and looks for ones with this word and deletes them. The other is to use the "When an event is modified" trigger for Outlook and check the subject then. Unfortunately, I'm not aware of another way to identify an event as having been cancelled other than to look at the subject line.

  • Hardesh15 Profile Picture
    7,087 Super User 2024 Season 1 on 09 Jan 2023 at 15:58:47
    Re: Automatically Delete/Remove Calendar Events

    @srduval Have you try Delete event (v2) action for cancelled meetings?

    Please 'Thumbs Up' the posts that helped you and 'Accept as Solution' if my post answered your question.

    @Hardesh /Gopenly.in

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,679 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,015 Most Valuable Professional

Leaderboard
Loading started