question

TomasJonuas-0890 avatar image
0 Votes"
TomasJonuas-0890 asked TomasJonuas-0890 commented

Microsoft Graph API booking online meeting works incorrectly

I am using graph API for booking online meetings according to documentation



but event startDateTime, endDateTime is provided in the payload API returns meeting dates: 00001-01-01

Is it API bug? When it could be fixed?
Is there any workaround to fix this?

The problem is that this date is visible in meeting details screen while participating in meeting.

office-teams-app-devmicrosoft-graph-teamworkmicrosoft-graph-customer-booking
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Adding the right tag/team to assist.

Please share the detailed response log that you get (along with timestamp, requestid) for analysis

0 Votes 0 ·

Making request:

 OnlineMeeting onlineMeeting = new OnlineMeeting();
 onlineMeeting.startDateTime = DateUtils.toCalendar(new Date());
 onlineMeeting.endDateTime = DateUtils.toCalendar(DateUtils.addHours(new Date(), 1));
 graphServiceClient.app().onlineMeetings().buildRequest().post(onlineMeeting);

Response:


 {
   "id": "MSpjYmZjYjQwZi01YjMyLTQ0MzQtOTY1NS01ZGVmOGNjZTIwNzkqMCoqMTk6bWVldGluZ19PR1V5WlRka01Ea3RNemt6TlMwMFltVTJMVGsyWkdFdE1EZ3lOVFpoTVdVNU1UTXpAdGhyZWFkLnYy",
   "creationDateTime": "2021-03-22T20:05:53.1077727Z",
   "startDateTime": "0001-01-01T00:00:00Z",
   "endDateTime": "0001-01-01T00:00:00Z",
   "subject": "Meeting",
   "isBroadcast": false,
   ...
 }
0 Votes 0 ·

1 Answer

Deva-MSFT avatar image
0 Votes"
Deva-MSFT answered TomasJonuas-0890 commented

Got it, by any chance do you have the payload that you're using or setting for the start/end datetimes.

In the meantime, i tested the above with Microsoft Graph Explorer and i failed to repro the issue.

Adding my payload snapshot for reference.

81549-image.png



image.png (18.6 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Checked in Graph Explorer. Yes indeed if you make request against https://graph.microsoft.com/beta/me/onlineMeetings it works OK.

It seems issue is when making request against: https://graph.microsoft.com/beta/app/onlineMeetings

My payload:

 {
   "endDateTime": "2021-03-30T10:10:41.712Z",
   "participants": {
     "organizer": {
       "identity": {
         "user": {
           "id": "--"
         }
       },
       "role": "attendee",
       "upn": "--"
     }
   },
   "startDateTime": "2021-03-30T09:10:41.712Z",
   "subject": "ZZZ"
 }
0 Votes 0 ·