Forum Discussion

rickeylohia's avatar
rickeylohia
Copper Contributor
May 26, 2020

Microsoft Teams API for live events

Are there APIs related to Teams live event

- Create a live event

- Get the attendees list of the live event

etc

  • 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

    • joinURL

    Send that joinURl into participants you want to add into a meeting. But there is more in that meeting.

    • gaogang's avatar
      gaogang
      Copper Contributor

      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. 

    • kevinIT90's avatar
      kevinIT90
      Copper Contributor

      Trinetra-MSFTHi, 

       

      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? 

  • Jonas2240's avatar
    Jonas2240
    Copper Contributor

    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?

Resources