All,
I want to accept a meeting invitation and then delete the invitation to from "Inbox" to "Deleted".
Right now the accept meeting invitation is working however it is not deleting the invite.
Hi @aishak12,
The challenge with this scenario is that the When an new event is created trigger action does not contain a link to the related event message. So, you will have to add another action to look for this information.
You could for example reuse the Subject value of the trigger action to search for the correct eventMessage via the Graph API.
Below is an example of that approach.
Graph URI
https://graph.microsoft.com/v1.0/me/messages/?$filter=subject eq '@{triggerOutputs()?['body/subject']}'&$select=id
Expression to retrieve the first eventMessage id, which you can use in the Delete email action.
body('Send_an_HTTP_request')['value'][0]['id']
stampcoin
69
Michael E. Gernaey
66
Super User 2025 Season 1
David_MA
42
Super User 2025 Season 1