Created onlineMeeting does not correspond to parameters passed with the Graph API

Integra Teams Live 0 Reputation points
2023-02-12T20:14:24.19+00:00

Hello everyone.

I am trying to create onlineMeetings using the Graph API. I am posting to the URL:

https://graph.microsoft.com/v1.0/users/{user_id}/onlineMeetings

I am able to successfully create the meetings and get a response back, however its properties do not match what I asked for in my JSON object.

Here's an example:

{
  "subject": "(redacted)",
  "startDateTime": "2023-02-12T16:49:00-03:00",
  "endDateTime": "2023-02-12T22:00:00-03:00",
  "isBroadcast": true,
  "broadcastSettings": {
    "allowedAudience": "everyone",
    "isRecordingEnabled": true,
    "isAttendeeReportEnabled": true
  },
  "recordAutomatically": true,
  "allowedPresenters": "everyone",
  "allowAttendeeToEnableCamera": true,
  "allowAttendeeToEnableMic": true,
  "allowMeetingChat": "enabled"
}

The 201 response (not all data shown):

{"id": "redacted", "creationDateTime": "2023-02-12T19:49:54.8047568Z", "startDateTime": "2023-02-12T19:49:00Z", "endDateTime": "2023-02-13T01:00:00Z", "joinUrl": "redacted", "meetingCode": "291592838770", "subject": "redacted", "isBroadcast": True, "autoAdmittedUsers": "everyoneInCompany", "outerMeetingAutoAdmittedUsers": "everyone", "isEntryExitAnnounced": True, "allowedPresenters": "organization", "allowMeetingChat": "enabled", "allowTeamworkReactions": True, "allowAttendeeToEnableMic": True, "allowAttendeeToEnableCamera": True, "recordAutomatically": False
  
}

As you can see, several properties are wrong such as allowedPresenters and recordAutomatically. I don't know what I am doing wrong. I am POSTing from Python Requests, the data is in the form of a json.dump'd Python dict, which is shown above in the 1st JSON box. However some properties are correct such as the start and end dates, as well as subject.

Also, I am unable to add someone else as the organizer of the event, whatever upn and role I pass in, the organizer always ends up being the account whose credentials are used to make the request. However I can add attendees with their email as upn normally.

Can you guys help me? I'm really puzzled here. Perhaps it's something I should fix in my account configuration, permissions, etc?

Thanks.

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,895 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,308 questions
{count} votes

1 answer

Sort by: Most helpful
  1. CharanyaB-MSFT 1,891 Reputation points Microsoft External Staff
    2023-03-01T14:37:55.7366667+00:00

    Hello @Integra Teams Live,

    Thanks for reaching out!

    I am able to reproduce the issue locally, the properties are not updated correctly. I will continue to research on this issue, and let you know once there is an update.

    To answer your second question unable to add someone else as the organizer of the event: The one who created the meeting will be the organizer by default and you cannot change the roles for a live event.

    Document reference:

    https://learn.microsoft.com/en-us/graph/api/resources/meetingparticipantinfo?view=graph-rest-1.0#:~:text=This%20value%20applies%20to%20all%20meetings%20except%20Teams%20live%20event.

    Hope this helps.

    If the reply is helpful, please click "Accept Answer" and kindly upvote it. If you have additional questions about this answer, please click "Comment".


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.