Forum Discussion
Microsoft Teams API for live events
rickeylohia you can create Live Events via the /v1.0/me/onlineMeetings, simply add
"isBroadcast": true
to the body.
You can add producers for the event:
"participants": {
"producers": [
{
"upn": "someuser@somedomain.com"
}
]
}
Note: this is available in v1.0 (so GA) but it is not in the documentation. It used to be in the beta documentation but I can't find it there anymore either. So I'm not sure just how unsafe it is to use this in a production environment.
Trinetra-MSFT , would you care to comment on this? Also, you were referring to a solution for creating online meetings (MeetNow) with application permissions. However, I can't find that in the documentation either. Could you give more information?
Jonas2240 We are trying to create Live Events from Graph API and even when we create the live event it does not appear in the calendar. Did you face this same problem? If so, how did you solve it? Thanks so much!
- Jonas2240Nov 03, 2020Copper Contributor
Hi AngelesESP,
currently you can only create these Live Events via the Online Meeting API afaik. As per the documentation (https://docs.microsoft.com/en-us/graph/api/application-post-onlinemeetings?view=graph-rest-1.0&tabs=http), online meetings created via this API don't show in any calendar.
A workaround would be to create the Live Event via the Online Meeting API, then use the details obtained via the response in a new call to the Calendar API to create an event in the user's calendar (https://docs.microsoft.com/en-us/graph/api/user-post-events?view=graph-rest-1.0&tabs=http).
I hope this helps.
Kind regards,
Jonas
- jmorihsMar 09, 2022Copper Contributor
Hi Jonas2240 ,
Following up on your comment, how would I use the details obtained via the response in a new call to the Calendar API to create an event in the user's calendar? I retrieved the online Meeting information but am not sure how to use that information in creating the calendar event call. Would this calendar event show the Live Event Meeting on the calendar and can participants join straight from the calendar event?