Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to schedule meeting in MS Teams through Graph API

I would like to create/read meetings on calender that shows in MS Teams. I have office 365 business essentials paid subscription that I use to log onto MS Teams. Would like to clarify here below:

1) the calender I see in MS Teams with my subscription plan mentioned above is by default the outlook from office 365 subscription?

2) I want to automate schedule/read meetings on Teams calender. I dont see Teams API in MS Graph for this. What Graph APIsI can use? or will such calls be added in Teams Graph APIs?

3) Can MS Teams be integrated with google or any calender other than outlook?

Thanks in advance

like image 516
user2494444 Avatar asked Jan 24 '19 00:01

user2494444


People also ask

Is there an API for Microsoft teams?

You can create websites, services, and native platform applications that run outside the Microsoft Teams user experience, and call the Teams API to automate Teams scenarios.


2 Answers

It is now possible to create MS Teams meetings in two ways using the Graph API.

  1. Executing a POST on the /me/events endpoint.

    In the body of the request you need to provide "isOnlineMeeting": true and "onlineMeetingProvider": "teamsForBusiness" additional to the regular parameters.

    If you use this graph call you can invite other users and the meeting appears in the calendar of the organizer.

  2. Executing a POST on the /me/onlineMeetings endpoint.

    (For parameters see the linked documentation)

    If you use this graph call no invitations are sent and the meeting does not appear in the calendar of the organizer. You would need alternative means to distribute the dial-in link, etc.

like image 143
Marvin Dickhaus Avatar answered Sep 17 '22 08:09

Marvin Dickhaus


  1. Yes, the calendar you see in Teams is exactly what you see in Outlook.
  2. There is an API for reading and writing calendar items in Microsoft Graph, but there's currently no way to detect which ones are Teams meetings or to create Teams meetings (which, under the covers, is a few extra properties on the calendar item). That is on the backlog of the Outlook team to add to their Graph APIs and many of us inside Microsoft are very eager to see it.
  3. No, Teams only supports the Exchange/Outlook calendar.
like image 40
Bill Bliss - MSFT Avatar answered Sep 18 '22 08:09

Bill Bliss - MSFT