May 26 2020 01:28 PM
Are there APIs related to Teams live event
- Create a live event
- Get the attendees list of the live event
etc
May 26 2020 09:46 PM
@rickeylohia , Currently there is no API to set up live event in teams. Please look at https://docs.microsoft.com/en-us/microsoftteams/teams-live-events/set-up-for-teams-live-events. However MeetNow is done in Graph API using application permissions. So a bot, application or a Flow / Logic Apps can create a Teams meeting. No, it is not a scheduled one but it is available instantly.
Request Body:
{
"meetingType": "meetNow",
"participants": {
"organizer": {
"identity": {
"user": {
"id": "[myUserId-Guid]"
}
}
}
},
"subject": "MeetNow from Graph API"
}
That’s the call body. Simple, effiecient. That could be easily done in many applications. Then execute the call
POST https://graph.microsoft.com/beta/app/onlineMeetings
From the response you can isolate easily the most important information
Send that joinURl into participants you want to add into a meeting. But there is more in that meeting.
Jul 06 2020 04:09 AM
@Trinetra-MSFT appreciate Teams live event api is not currently available. I'm just wonder if it is in your development roadmap? Could you share any insights with us? Cheers.
Sep 17 2020 02:55 AM
@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?
Oct 27 2020 03:23 PM
Just to confirm - we have an internal website that our trainers, employees, and partners use to schedule, sign-up for, launch, and track attendance for training courses. There is no way to integrate our website with Live events to perform these actions from our website?
Nov 03 2020 12:39 AM
@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!
Nov 03 2020 12:55 AM
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=...), 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
Mar 08 2022 04:22 PM
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?