How do I programmatically create a video meeting on teams.microsoft.com?

2.7k views Asked by At

This might seem rather basic, it seems like it should be the simplest possible API call to make with any video call provider.

I need to:

  • Get an API key for my web application.
  • Create a meeting link with the video call provider using the key.
  • Share that link with an external user via e-mail (or SMS, or whatever, my app does that bit).
  • Redirect then internal user to the link (possibly in an <iframe>).
  • Optionally end the meeting afterwards so the link can't be re-used.
  • Optionally report on who attended and for how long.

It seems like that should be fairly simple (or at least straightforward), and for every other provider I've looked at it is, but for Teams I have struggled to get started.

For instance, in Skype this is (or used to be) simply a POST to https://api.join.skype.com/v1/meetnow/createjoinlinkguest.

I think the API key needs to be generated in Azure, and then the meeting request needs to be made via Microsoft Graph but it also appears like it is not possible to use this API unless a delegated user - i.e. users would have to sign in via their "work or school account".

I think that would mean switching our entire user model over to Microsoft's, a prohibitively large amount of work just to generate video call links.

Is there a way to generate these links without requiring the user to sign in via Microsoft?

Is this only possible via an Azure application instance and Graph API? It seems a very long way round compared to any other provider?

0

There are 0 answers