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 Apps / Office365 CalendarDele...
Power Apps
Unanswered

Office365 CalendarDeleteItem How to add what Calendar Item deleted

(0) ShareShare
ReportReport
Posted on by Microsoft Employee
Hi, By Using Office365.CalendarDeleteItem, I'm able to Delete an Event from my calendar and that also trigger remove Event notification to the attendees. that is working fine. But I want to add msg Why event Canceled in that, How can I do that? Thanks, -Sal
Categories:
I have the same question (0)
  • v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

    Could you please share a bit more about your scenario?

    Do you want to add msg why the event is canceled in your Calendar when you delete the event from your Calendar?

    If you want to add msg why the event is canceled in your Calendar when you delete the event from your Calendar, I afraid that there is no direct way to achieve your needs in PowerApps currently.

    As an alternative soltuion, you could consider take a try to send an individual email (using Office365.SendEmail() function) to notify the attendees that the corresponding event has been canceled, and you could add related reason msg within the Email body.

    I have made a test on my side, please take a try with the following workaround:1.JPG

     

    2.JPG

     

    3.JPG

    Set the Items proeprty of the Calendar Dropdown (Dropdown1) to following:

    Office365.CalendarGetTables().value

    Set the Items proeprty of the Event Dropdown (Dropdown2) to following:

    Office365.CalendarGetItems(Dropdown1.Selected.Name).value

    Set the OnSelect property of the "Delete" button to following:

    Office365.SendEmail( /* <-- Send Cancel Notification email to the attendees of the event */
     Concat(Dropdown2.Selected.Attendees.EmailAddress, EmailAddress.Address & ";"), /* <-- Get related attendees emails of this cancel event*/
     Dropdown2.Selected.Subject & " Event Cancel Notification",
      ReasonTextInputBox.Text /* <- Type your Cancel reason within the ReasontextInputBox*/
    )
    Office365.CalendarDeleteItem(Dropdown1.Selected.Name, Dropdown2.Selected.Id); /* Delete Event */

     

    Best regards,

    Kris

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Good workaround, that what I  thought of doing after I failled to make it work. I found one connector call "Office365.CalendarPatchItem", if I use that and use it's property IsCancelled set to True then I'm able to delete the Event from Calendar , same operation as Office365.CalendarDeleteItem. In Office365.CalendarPatchItem I see one property call Reason:Text, I'm not able to make it work, may be I don't know what other required properties I need to set to make this property work. Can you check on your end, Is this the one that would allow me to let the attendees know why an Event is Cancelled.

     

    Thanks,

    -Sal

    Untitled.jpg
  • Flavio_Sena Profile Picture
    3 on at

    I can't use this function either. 

    Office365.CalendarPatchItem  - Iscancelled and Rason parameters does not work.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 358 Most Valuable Professional

#2
11manish Profile Picture

11manish 214 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 185

Last 30 days Overall leaderboard