Access team meeting chat before the meeting starts when created using API

Copper Contributor

Hi, I am creating an event using Event API - https://learn.microsoft.com/en-us/graph/api/user-post-events?view=graph-rest-1.0&tabs=http and creating a teams meeting using online meeting API - https://learn.microsoft.com/en-us/graph/api/resources/onlinemeeting?view=graph-rest-1.0#onlinemeetin.... But the participants are unable to start the chat in teams before the meeting is started. Participants can start the chat if I manually create a meeting from the team's calendar. Please guide me on how I can enable the participants to start the chat before the meeting is started. I have the following flags set when create the online meeting - 

allowMeetingChat: "enabled",
shareMeetingChatHistoryDefault: "all",
allowedPresenters: "everyone",

 

Participants are seeing this error -

Shubham5_0-1715298260152.png

 

2 Replies

@Shubham5 - Thanks for reporting your issue. Could you please let us know which API are you using? Is it event API or online meeting API?
In order to create meeting in calendar you have to create event as an online meeting using below API

example:

POST https://graph.microsoft.com/v1.0/me/events
Prefer: outlook.timezone="Pacific Standard Time"
Content-type: application/json

{
"subject": "Let's go for lunch",
"body": {
"contentType": "HTML",
"content": "Does noon work for you?"
},
"start": {
"dateTime": "2017-04-15T12:00:00",
"timeZone": "Pacific Standard Time"
},
"end": {
"dateTime": "2017-04-15T14:00:00",
"timeZone": "Pacific Standard Time"
},
"location":{
"displayName":"Harry's Bar"
},
"attendees": [
{
"emailAddress": {
"address":"samanthab@contoso.com",
"name": "Samantha Booth"
},
"type": "required"
}
],
"allowNewTimeProposals": true,
"isOnlineMeeting": true,
"onlineMeetingProvider": "teamsForBusiness"
}


Ref Doc: https://learn.microsoft.com/en-us/graph/api/user-post-events?view=graph-rest-1.0&tabs=http#example-4...

@Shubham5 - Could you please confirm is your issue resolved or are you still facing this issue?