Building custom solutions that extend, automate, and integrate Microsoft 365 apps.
iCal help needed.
Pranav K P
5
Reputation points
We are sending iCal (sending as inline iCal so outlook can detect it as Meetings/Calendar invites) in emails and it is working fine.
As a next step to it, when the recipient accepts or declines the invite (chooses one of these options - Yes / No / May be), we want to take some action based on that.
For that what we are trying is like this
-> Every time someone accepts or declines a calendar invite an email is sent to the ORGANISER email (which is set in iCal), which in our case is - <******@company.com>, Using this - https://graph.microsoft.com/v1.0/subscriptions
-> Now we are adding subscriptions on this Mailbox -> <******@company.com> and monitoring for any incoming emails and we recieve one we get the "messageId"
-> Now using this message Id we are getting the mail content -> using this API - GET https://graph.microsoft.com/v1.0/me/messages/{messageId} -> which is having keys like -> "meetingMessageType": "meetingAccepted", and "responseType": "accepted"
-> After this in the response we have -> ConversationId in the response using which we are getting all the emails and using that we are getting -> Which calendar event is accepted / declined by which user
Microsoft 365 and Office | Development | Other
Microsoft 365 and Office | Development | Other
Outlook | Windows | Classic Outlook for Windows | For business
Outlook | Windows | Classic Outlook for Windows | For business
Using classic Outlook for Windows in business environments
Sign in to answer