An API that connects multiple Microsoft services, enabling data access and automation across platforms
The solution posted does not work, this still sends a invite to the attendee
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I'm working with the Microsoft Graph API to create events in an Outlook calendar. When I create an event for myself, no email is sent, but when creating an event for another user, they receive an email with options to accept or decline the event. Is there a way to disable these accept/decline options when creating an event for someone else? Additionally, is there another endpoint or method I should be using to create appointments without sending these notifications?
An API that connects multiple Microsoft services, enabling data access and automation across platforms
The solution posted does not work, this still sends a invite to the attendee
Hello @Riya Dhyani ,
To disable the accept/decline options for a calendar event via the Microsoft Graph API, you can set the responseRequested property of the event to false.
Make a POST request to the following endpoint, replacing {event_id} with the actual ID of the event you want to modify to create event disabling response.
In the request body, include the responseRequested property and set it false.
PATCH /me/events/{event_id}
{ "responseRequested": false }
Send the request and the specified event will be created with disabling the accept/decline options for attendees.
Please refer to documentation. https://learn.microsoft.com/en-us/graph/api/user-post-events?view=graph-rest-1.0&tabs=http
Hope this helps.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".