Graph API - organizer unchecked "request responses"; "Decline event" call fails

John Vannoy 6 Reputation points
2024-04-17T16:30:22.39+00:00

We have an app that monitors resource mailboxes, and applies validation checks when one accepts a meeting invite from a user. If these validation checks fail, the code makes the Graph API call to tell the mailbox to decline the invite.

We are encountering a scenario where the Graph call to decline the invite fails. Specifically it's when the user sent the invite with "request responses" unchecked. The Graph call fails with the message Your request can't be completed. The meeting organizer hasn't requested a response.

So basically the users have found a way to work around our validation system, by simply unchecking "request responses" when inviting these resource mailboxes to meetings.

Is there any way, via the API, to tell a resource mailbox to decline in invitation, if the organizer unchecked "request responses"?

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,612 questions
0 comments No comments
{count} votes