question

SachinChavan-6755 avatar image
0 Votes"
SachinChavan-6755 asked ·

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

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@xxxx.xxx",
"name": "xxx xxxx"
},
"type": "required"
}
],
"isOnlineMeeting": true,
"onlineMeetingProvider": "teamsForBusiness"
}

microsoft-graph-calendarmicrosoft-graph-groups
· 2
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

When you say now its not working? Please explain. Also share the detailed error, along with requestid/timestamp that you're getting.

0 Votes 0 ·

It creates an event but not an onlinemeeting. It ignores the isOnlineMeeting = true parameter in the Request. This was working earlier.
I hope this helps. @Deva-MSFT

0 Votes 0 ·

1 Answer

StephenChang-5868 avatar image
0 Votes"
StephenChang-5868 answered ·

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
}

·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.