Hi @Dipika Das ,
Hope you are doing well.
I am able to reproduce you issue in my test tenant. As per my research, it is not supported to create an event along with attachments within a single request.
As a workaround, create the event without attendees, then create the attachment and update the event with the attendees they'll receive the event e-mail with all the attachments.
Please follow the below steps:
- Create an event (excluding attendees) via POST to
https://graph.microsoft.com/v1.0/me/calendars/{calendarId}/events
- Attach a file to the event via POST to
https://graph.microsoft.com/v1.0/me/calendars/{calendarId}/events/{eventId}/attachments
- Update the event from step 1 with the attendees via PATCH to
https://graph.microsoft.com/v1.0/me/calendars/{calendarId}/events/{eventId}
Hope this helps.
If the answer is helpful, please click Accept Answer and kindly upvote. If you have any further questions about this answer, please click Comment.