Forum Discussion
Problem when trying to join a meeting created using the MS Graph API via desktop application
We have an application that creates meetings using the MS Graph API with the onlineMeeting method. We have been using this method for over 5 months and a short time ago we noticed a bug.
When trying to join one of these meetings through the desktop application (with deep link) the screen stopped in "connecting" and the users are unable to access the meeting. However, when trying to access the same meeting through the link on the web (browser) you normally access it.
Below are examples of the API we consume:
Content-Type: application/json
"startDateTime":"2019-07-12T14:30:34.2444915-07:00",
"endDateTime":"2019-07-12T15:00:34.2464912-07:00",
"subject":"Teste Meeting",
"participants": {
"organizer": {
"identity": {
"user": {
"id": "oid of user teams",
},
},
},
},
}
const joinUrl = https://teams.microsoft.com/l/meetup-join/19:meeting_Y2UxYmExYTQtYTAzNC00M2RhLWFiYmMtYmQ4ODgyZjY1YjI3@thread.v2/0
microsoftTeams.getContext((context => {
if (context.hostClientType === "web") {
window.open(joinWebUrl, "_blank")
return;
}
microsoftTeams.executeDeepLink(joinUrl);
}));
- subhasish-MSFTMicrosoft
I am not able to reproduce it. Can you please share which version of Teams client sdk are you using?
Just to confirm from the below snippet, You are facing when below code snippet executes right ?
const joinUrl = encodeURI(joinUrl);
microsoftTeams.executeDeepLink(joinUrl);- Developers_InvilliaCopper Contributor
subhasish-MSFT Hello, we are using version 1.6.0.
Exactly, the error to connect to a meeting happens only through deeplink. From a meeting created by the MS Graph API onlineMeetings.
- subhasish-MSFTMicrosoft
I am able to reproduce it, For quick fix I tried using with out encoding the URL.
Try calling like this.
microsoftTeams.executeDeepLink('meeting_url');
It did work for me. Please let me know if it helps.