question

NidhinC-9523 avatar image
0 Votes"
NidhinC-9523 asked Mamatha-MSFT edited

Team api integration

I am integrating teams api to schedule meeting,

use this api
https://graph.microsoft.com/v1.0/me/onlineMeetings
request
{
"startDateTime":"2019-07-12T14:30:34.2444915-07:00",
"endDateTime":"2019-07-12T15:00:34.2464912-07:00",
"subject":"User Token Meeting",
"isBroadcast": true,
"broadcastSettings": {
"allowedAudience": "everyone",
"isRecordingEnabled": true,
"isAttendeeReportEnabled": true
}
}

Getting response

{
"error": {
"code": "MethodNotAllowed",
"message": "An error has occurred.",
"innerError": {
"date": "2021-05-07T10:24:58",
"request-id": "17e3655e-158d-44c2-bb92-3a6b2ff3951d",
"client-request-id": "17e3655e-158d-44c2-bb92-3a6b2ff3951d"
}
}
}

Please help me to solve this issue

office-teams-app-devmicrosoft-graph-teamwork
· 1
5 |1600 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.

Adding right tags/teams to assist

0 Votes 0 ·
Deva-MSFT avatar image
0 Votes"
Deva-MSFT answered NidhinC-9523 edited

Ok, i looked at the above. I tried with Graph Explorer and the same Graph API call the required payload in the documentation (attached below) and it works for me!!

{
"startDateTime": "2021-05-12T14:30:34.2444915-07:00",
"endDateTime": "2021-07-12T15:00:34.2464912-07:00",
"subject": "User Token Meeting - Testing"
}

· 1
5 |1600 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.

Thanks for your reply

payload you shared is working for me, Actual problem is when i add broadcastsettings in payload showing above error,

"broadcastSettings": {
"allowedAudience": "everyone",
"isRecordingEnabled": true,
"isAttendeeReportEnabled": true
}
i need to enable recording in scheduled meetings

0 Votes 0 ·
Mamatha-MSFT avatar image
0 Votes"
Mamatha-MSFT answered Mamatha-MSFT edited

Hi @NidhinC-9523 - The "broadcastSettings" are in Graph API Beta version but your using version 1.0. Please go through this documentation.


· 1
5 |1600 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.

@NidhinC-9523 - Please let us know if your issue has been resolved.

0 Votes 0 ·