Not able to create an online meeting for a group using Graph API

Sachin Chavan 1 Reputation point
2021-03-07T20:46:10.64+00:00

I am using Graph API SDK to create group events that are configured as online meetings.
However, the code that was working earlier has stopped working. The same issue occurs when tried through Graph explorer. Below is the request.

{
"subject": "Test",
"body": {
"contentType": "HTML",
"content": "Test meeting"
},
"start": {
"dateTime": "2021-03-08T02:30:00",
"timeZone": "India Standard Time"
},
"end": {
"dateTime": "2021-03-08T03:00:00",
"timeZone": "India Standard Time"
},
"location": {
"displayName": "Harry's Bar"
},
"attendees": [
{
"emailAddress": {
"address": "xxx.xxxxx@xxxxxxxxxxxxx .xxx",
"name": "xxx xxxx"
},
"type": "required"
}
],
"isOnlineMeeting": true,
"onlineMeetingProvider": "teamsForBusiness"
}

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

1 answer

Sort by: Most helpful
  1. Stephen Chang 1 Reputation point
    2021-03-12T21:10:42.503+00:00

    I'm facing something similar to this. A POST request to /beta/me/events or /v1.0/me/events with almost the same params as the OP.

    {
    :subject => "subject",
    :body => {
    :content => "some content"
    },
    :start => {
    dateTime => some start time,
    :timeZone => some time zone
    },
    :end => {
    :dateTime => some end time,
    :timeZone => same timezone as above
    },
    :allowNewTimeProposals => false,
    :isOnlineMeeting => true,
    :onlineMeetingProvider => "teamsForBusiness"
    }

    Most of the time, it works fine. But sporadically, it returns:

    {
    isOnlineMeeting => false,
    onlineMeetingProvider => "unknown",
    onlineMeeting => nil
    }

    0 comments No comments