Graph API Online Meetings only accessable to presenters

Dirk Jellese 96 Reputation points
2021-02-22T15:04:13.593+00:00

We are succesfull in creating OnlineMeetings for Teams on behalf of users. However something has changed, because sincs last week these meetings are not available for guests anymore. They simply can't connect. Even the meetings that used to work.

We are creating online meetings for teachers to automate digital classes. And we want them to be the only presenters.
So the organizer is teacher 1, and 2 and 3 get the role of presenter after an update (patch)

However people who are not an attendee can't join anymore. When according to my settings everyone in my organization is allowed (this is default)

Other weird thing.
https://learn.microsoft.com/en-us/graph/api/application-post-onlinemeetings?view=graph-rest-1.0&tabs=http
POST /users/{userId}/onlineMeetings this should work, but we get an error: "message": "Expected not null\r\nParameter name: meeting",
So we're unable to create a meeting unless we use POST /users/{userId}/onlineMeetings/createOrGet

Anyone having the same issues or maybe had and allready has a sollution?

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,239 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
3,005 questions
{count} votes

Accepted answer
  1. Dirk Jellese 96 Reputation points
    2021-02-23T12:40:16.753+00:00

    OK, I know now what is wrong, If you dynamicly add attendees, the data must be OK. Because I am switching between 1,2 and 3 attendees that can be presenter. I must construct 3 different creates and 3 different patches.

    Your TeamsMeeting will fail for guests if one of your attendees looks like this in the output:

    "attendees": [
    {
    "upn": "",
    "role": null,
    "identity": {
    "phone": null,
    "guest": null,
    "encrypted": null,
    "onPremises": null,
    "applicationInstance": null,
    "application": null,
    "device": null,
    "user": {
    "id": "",
    "displayName": null,
    "tenantId": null,
    "identityProvider": "MSA"
    }
    }
    }

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Dirk Jellese 96 Reputation points
    2021-02-23T10:24:17.34+00:00

    OK, now things are starting to get weird. The meetings I generated yesterday and the days before are all working. So I created two new links today. Unable to connect to the meeting. I'll check if these meetings work tomorrow, would be crazy if they work then.

    0 comments No comments