Teams Graph API - How to Allow guests to speak in chat and not to send invitation to the organizer

Relephant 46 Reputation points
2021-11-24T05:29:00.96+00:00

Hello.
I'd like to create Teams online meetings using Graph API Create onlineMeeting in my application. I have configured the application access policy so that my application can create meetings without users.

I'd like to create the following meetings: 1)All participants can enter without lobby, 2)All participants can speak in chat, 3) The organizer doesn't get invitation. But currently guests cannot speak in chat and an invitation will be sent to the organizer in the following request. How can I fix this?

Request

{
  "subject":"test meeting",
  "lobbyBypassSettings": {"scope":"everyone"},
}

Response

{
    "@odata.context": "https://graph.microsoft.com/beta/$metadata#users('39................')/onlineMeetings/$entity",
    "id": "MSo...............",
    "creationDateTime": "2021-11-24T04:48:07.7082659Z",
    "startDateTime": "2021-11-24T04:48:05.4391977Z",
    "endDateTime": "2021-11-24T05:48:05.4391977Z",
    "joinUrl": "https://teams.microsoft.com/l/meetup-join/.................",
    "joinWebUrl": "https://teams.microsoft.com/l/meetup-join/....................",
    "meetingCode": null,
    "subject": "test meeting",
    "isBroadcast": false,
    "autoAdmittedUsers": "everyone",
    "outerMeetingAutoAdmittedUsers": null,
    "isEntryExitAnnounced": true,
    "allowedPresenters": "everyone",
    "allowMeetingChat": "enabled",
    "allowTeamworkReactions": true,
    "allowAttendeeToEnableMic": true,
    "allowAttendeeToEnableCamera": true,
    "recordAutomatically": false,
    "capabilities": [],
    "videoTeleconferenceId": null,
    "externalId": null,
    "broadcastSettings": null,
    "audioConferencing": null,
    "meetingInfo": null,
    "participants": {
        "organizer": {
            "upn": "...............@...........onmicrosoft.com",
            "role": "presenter",
            "identity": {
                "acsUser": null,
                "spoolUser": null,
                "phone": null,
                "guest": null,
                "encrypted": null,
                "onPremises": null,
                "acsApplicationInstance": null,
                "spoolApplicationInstance": null,
                "applicationInstance": null,
                "application": null,
                "device": null,
                "user": {
                    "id": "39.................",
                    "displayName": null,
                    "tenantId": "3e.............................",
                    "identityProvider": "AAD"
                }
            }
        },
        "attendees": [],
        "producers": [],
        "contributors": []
    },
    "lobbyBypassSettings": {
        "scope": "everyone",
        "isDialInBypassEnabled": false
    },
    "chatInfo": {
        "threadId": "19:meeting..............................",
        "messageId": "0",
        "replyChainMessageId": null
    },
    "joinInformation": {
        "content": "data:text/html,..........",
        "contentType": "html"
    }
}

(Partially omitted.)

Thanks.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,418 questions
{count} votes