How to stop default mail triggers when creating an calendar events using microsoft graph API's?

Shankar Guru Jawahar 0 Reputation points
2024-09-17T07:06:37.5766667+00:00

I'm trying to create calendar events using the below endpoint,

https://graph.microsoft.com/v1.0/me/events

and HTTP method used is POST, here i want to stop the default email invitations sent to the recipients of the events because it is spamming the employee's mail boxes, because even for the events that are scheduled for a past time, the invitations are sent newly.

I have tried different approaches such as setting the onlinemeeting option to false, however since the mails are triggered from the server side, I'm unable to restrict it.

Kindly, assist me with any possible solution where i would be able to stop the default event invitations sent to the recipients.

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

1 answer

Sort by: Most helpful
  1. Hitesh Pachipulusu - MSFT 1,575 Reputation points Microsoft Vendor
    2024-09-23T11:00:00.95+00:00

    Hello Shankar Guru Jawahar,

    Thank you for reaching out to Microsoft Support!

    It seems that currently, the Microsoft Graph API does not provide a direct way to disable the default email invitations when creating calendar events. This is a known limitation.

    However, there are a couple of workarounds you might consider:

    1. Create Events Without Attendees: Initially create the event without adding any attendees. Once the event is created, you can update the event to add attendees. This way, the initial creation won’t trigger an email invitation, but updating the event might still send notifications.
    2. Channel Meetings in Teams: If the events are related to Teams, you could create channel meetings. These meetings do not send out invitations to channel members.

    Hope this helps.

    If the answer is helpful, please click Accept Answer and kindly upvote it. If you have any further questions about this answer, please click Comment.

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.