Meeting scheduler create meeting not showing on the main calendar in Graph API

Zhetao Gu 0 Reputation points
2023-09-13T02:59:29.4666667+00:00

I am invoking https://graph.microsoft.com/v1.0/me/calendars/{calendarid}/events to create a meeting and I am also the attendee. The payload is

{
    "subject": "Let's go for lunch",
    "body": {
        "contentType": "HTML",
        "content": "Does mid month work for you?"
    },
    "start": {
        "dateTime": "2023-09-15T12:00:00",
        "timeZone": "Pacific Standard Time"
    },
    "end": {
        "dateTime": "2023-09-15T14:00:00",
        "timeZone": "Pacific Standard Time"
    },
    "location": {
        "displayName": "Harry's Bar"
    },
    "attendees": [
        {
            "emailAddress": {
                "address": "******@RipplingATS.onmicrosoft.com",
                "name": "Adele Vance"
            },
            "type": "required"
        }
    ]
}

However, the meeting is only created on the calendar with calendarid. It is not showing on the main calendar. I know if I am only the scheduler, then it makes sense that it doesn't add to my main calendar. But I am also the attendee, why it doesn't show on the main calendar? Is it expected or I miss some config settings here?

Thanks

Microsoft Security | Microsoft Graph
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. CarlZhao-MSFT 46,376 Reputation points
    2023-09-15T06:41:10.5366667+00:00

    Hi @Zhetao Gu

    This is because the meeting was created in a specific calendar, so the meeting will only appear on the specific calendar and not the main calendar.

    Only meetings created in the user's default calendar will appear on the main calendar.

    POST /me/events 
    POST /me/calendar/events 
    

    Hope this helps.

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


  2. Zhetao Gu 0 Reputation points
    2023-09-16T14:21:34.6966667+00:00

    Hi Carl,

    Thanks for answering the question. We understand that the event is scheduled on the specific calendar. But for other calendar services like Google, if the user is the scheduler and also the attendee, it will also create an event on the main calendar for the attendee role. Do you consider adding this feature because it makes more sense that the scheduler will always have an event on the scheduling calendar, and also have an event on the main calendar for the attendee role.

    Thanks,

    Zhetao

    0 comments No comments

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.