Ken Koellner
Ken Koellner

Reputation: 111

Set lobbyBypassSettings on Graph API Create Event

I've used lobbyBypassSettings on Graph API request for creating online meetings.

Example:

{
    "lobbyBypassSettings": 
    {
        "isDialInBypassEnabled": true,
        "scope": "everyone"
    },
    "joinMeetingIdSettings": 
    {
        "isPasscodeRequired": false
    },
    "endDateTime": "2025-02-28T16:30:00.000Z",
    "startDateTime": "2025-02-28T16:00:00.000Z",
    "subject": "My Subject"
}

I need to create calendar events and set Teams online meetings. I'd like to be able to set the lobbyBypassSettings when doing so but I don't see a way to do that in the documentation. Could there be a way to do it?

If create event can't do it, I'm thinking the only choice would be to create the calendar event, get the online meeting, and then update the online meeting. That would require doing to extra calls, the GET and the PATCH.

The create calendar event request I'm using is in the following form

{ 
    "allowNewTimeProposals" : false, 
    "subject": "kk tester@catdev teams -- 9j", 
    "body": 
    {
        "contentType": "HTML", 
        "content": "L2TContact L2TCatDev<br/>
[email protected]<br/>
555-1212" 
    }, 
    "start": 
    { 
        "dateTime": "2025-02-28T16:00:00.000Z", 
        "timeZone": "Etc/GMT" 
    }, 
    "end": 
    {
        "dateTime": "2025-02-28T16:30:00.000Z", 
        "timeZone": "Etc/GMT" 
    }, 
    "location":
    { 
        "displayName":"Teams Meeting" 
    }, 
    "isOnlineMeeting": true, 
    "onlineMeetingProvider": "teamsForBusiness" 
} 

Upvotes: 1

Views: 44

Answers (0)

Related Questions