Hello Jaykumar Gohil,
Thanks for reaching out!
It seems there is an issue with the request body you are passing. I'm successfully able to create an OnlineMeeting with below properties in my request body.
POST https://graph.microsoft.com/v1.0/me/onlineMeetings
{
"subject": "My event",
"startDateTime": "2023-05-06T16:30:34.2444915-07:00",
"endDateTime": "2023-05-06T17:00:34.2464912-07:00",
"participants": {
"organizer": {
"identity": {
"user": {
"id": "f09fd4f8-90f8-4088-ad78-38d45cbf3f1a"
}
}
}
},
"isBroadcast": true,
"broadcastSettings": {
"allowedAudience": "organization",
"isRecordingEnabled": true,
"isAttendeeReportEnabled": true
},
"recordAutomatically": false,
"allowAttendeeToEnableCamera": true,
"allowAttendeeToEnableMic": true,
"allowMeetingChat": "enabled",
"allowTeamworkReactions": true,
"isEntryExitAnnounced": false
}
Please note that the startDateTime and endDateTime properties describes the meeting start time and end Time in UTC respectively. There is no such property like 'timeZone' for request body.
Hope this helps.
If the answer is helpful, please click Accept Answer and kindly upvote. If you have any further questions about this answer, please click Comment.