Search code examples
microsoft-graph-apimicrosoft-teamsmicrosoft-graph-sdksmicrosoft-graph-calendar

Create event with Microsoft Teams online meeting using Microsoft Graph Java SDK


Searching in the Microsoft Graph documentation, I found this:

https://learn.microsoft.com/es-es/graph/api/user-post-events?view=graph-rest-1.0&tabs=java

It says that you can create an event with an online meeting using Java "Event" type.

Code example

But the problem is, when I tried to do it with the current last Microsoft Graph SDK version 1.7.1, I noticed that "event.isOnlineMeeting" and "event.onlineMeetingProvider" don't exists.

Is it not implemented yet? Or I'm missing a new Microsoft Graph version, or something...

Edit 1

I clarify, this is not a code error, rather it is about knowing why Microsoft Graph documentation shows an example of Java code which makes use of "event.isOnlineMeeting" and "event.onlineMeetingProvider", while In the latest version of the Microsoft Graph SDK for Java, these fields of the "event" object do not exist.

Edit 2

In the latest versions of the Microsoft Graph SDK for Java, the event object already has both fields.


Solution

  • In the latest versions of the Microsoft Graph SDK for Java, the Event object already has both fields.

    isOnlineMeeting

    onlineMeetingProvider