Problem when trying to join a meeting created using the MS Graph API via desktop application

%3CLINGO-SUB%20id%3D%22lingo-sub-1510236%22%20slang%3D%22en-US%22%3EProblem%20when%20trying%20to%20join%20a%20meeting%20created%20using%20the%20MS%20Graph%20API%20via%20desktop%20application%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1510236%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20have%20an%20application%20that%20creates%20meetings%20using%20the%20MS%20Graph%20API%20with%20the%20onlineMeeting%20method.%26nbsp%3BWe%20have%20been%20using%20this%20method%20for%20over%205%20months%20and%20a%20short%20time%20ago%20we%20noticed%20a%20bug.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhen%20trying%20to%20join%20one%20of%20these%20meetings%20through%20the%20desktop%20application%20(with%20deep%20link)%20the%20screen%20stopped%20in%20%22connecting%22%20and%20the%20users%20are%20unable%20to%20access%20the%20meeting.%26nbsp%3BHowever%2C%20when%20trying%20to%20access%20the%20same%20meeting%20through%20the%20link%20on%20the%20web%20(browser)%20you%20normally%20access%20it.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBelow%20are%20examples%20of%20the%20API%20we%20consume%3A%3C%2FP%3E%3CDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%3CSTRONG%3EAPI%20onlineMeeting%3C%2FSTRONG%3E%3C%2FDIV%3E%3CDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%3CDIV%3E%3CSTRONG%3EPOST%3C%2FSTRONG%3E%20%3CA%20href%3D%22https%3A%2F%2Fgraph.microsoft.com%2Fv1.0%2Fme%2FonlineMeetings%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgraph.microsoft.com%2Fv1.0%2Fme%2FonlineMeetings%3C%2FA%3E%3CBR%20%2F%3EContent-Type%3A%20application%2Fjson%3C%2FDIV%3E%3CDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%3CDIV%3E%7B%3CBR%20%2F%3E%26nbsp%3B%20%22startDateTime%22%3A%222019-07-12T14%3A30%3A34.2444915-07%3A00%22%2C%3CBR%20%2F%3E%26nbsp%3B%20%22endDateTime%22%3A%222019-07-12T15%3A00%3A34.2464912-07%3A00%22%2C%3CBR%20%2F%3E%26nbsp%3B%20%22subject%22%3A%22Teste%20Meeting%22%2C%3CBR%20%2F%3E%26nbsp%3B%20%22participants%22%3A%20%7B%3CBR%20%2F%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%22organizer%22%3A%20%7B%3CBR%20%2F%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%22identity%22%3A%20%7B%3CBR%20%2F%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%22user%22%3A%20%7B%3CBR%20%2F%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%22id%22%3A%20%22oid%20of%20user%20teams%22%2C%3CBR%20%2F%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%7D%2C%3CBR%20%2F%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%7D%2C%3CBR%20%2F%3E%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%7D%2C%3CBR%20%2F%3E%26nbsp%3B%20%26nbsp%3B%20%7D%2C%3CBR%20%2F%3E%7D%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3EAnd%20here's%20how%20we%20use%20it%20on%20%3CSTRONG%3Esdk%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F41501%22%20target%3D%22_blank%22%3E%40microsoft%3C%2FA%3E%2Fteams-js%3C%2FSTRONG%3E%3A%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%3CDIV%3E%3CDIV%3E%3CSTRONG%3Econst%20joinWebUrl%3C%2FSTRONG%3E%20%3D%20%3CA%20href%3D%22https%3A%2F%2Fteams.microsoft.com%2Fl%2Fmeetup-join%2F19%253ameeting_Y2UxYmExYTQtYTAzNC00M2RhLWFiYmMtYmQ4ODgyZjY1YjI3%2540thread.v2%2F0%3Fcontext%3D%257b%2522Tid%2522%253a%252242b15616-327f-44b1-93a4-c2ebfe032fc7%2522%252c%2522Oid%2522%253a%252296a51331-be23-4600-a8a6-7ac9df1b27d3%2522%257d%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fteams.microsoft.com%2Fl%2Fmeetup-join%2F19%253ameeting_Y2UxYmExYTQtYTAzNC00M2RhLWFiYmMtYmQ4ODgyZjY1YjI3%2540thread.v2%2F0%3Fcontext%3D%257b%2522Tid%2522%253a%252242b15616-327f-44b1-93a4-c2ebfe032fc7%2522%252c%2522Oid%2522%253a%252296a51331-be23-4600-a8a6-7ac9df1b27d3%2522%257d%3C%2FA%3E%3C%2FDIV%3E%3CDIV%3E%3CBR%20%2F%3E%3CSTRONG%3Econst%20joinUrl%26nbsp%3B%3C%2FSTRONG%3E%3D%20%3CA%20href%3D%22https%3A%2F%2Fteams.microsoft.com%2Fl%2Fmeetup-join%2F19%3Ameeting_Y2UxYmExYTQtYTAzNC00M2RhLWFiYmMtYmQ4ODgyZjY1YjI3%40thread.v2%2F0%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fteams.microsoft.com%2Fl%2Fmeetup-join%2F19%3Ameeting_Y2UxYmExYTQtYTAzNC00M2RhLWFiYmMtYmQ4ODgyZjY1YjI3%40thread.v2%2F0%3C%2FA%3E%3C%2FDIV%3E%3CDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%3CDIV%3EmicrosoftTeams.initialize()%3B%3CBR%20%2F%3EmicrosoftTeams.getContext((context%20%3D%26gt%3B%20%7B%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%20%26nbsp%3Bif%20(context.hostClientType%20%3D%3D%3D%20%22web%22)%20%7B%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3Bwindow.open(joinWebUrl%2C%20%22_blank%22)%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3B%20%26nbsp%3Breturn%3B%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%20%26nbsp%3B%7D%3C%2FDIV%3E%3CDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3E%3CDIV%3E%26nbsp%3B%26nbsp%3B%20%26nbsp%3Bconst%20joinUrl%20%3D%20encodeURI(%3CSTRONG%3EjoinUrl%3C%2FSTRONG%3E)%3B%3CBR%20%2F%3E%26nbsp%3B%26nbsp%3B%20%26nbsp%3BmicrosoftTeams.executeDeepLink(%3CSTRONG%3EjoinUrl%3C%2FSTRONG%3E)%3B%3CBR%20%2F%3E%7D))%3B%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3EIs%20anyone%20having%20the%20same%20problem%20or%20can%20they%20help%20us%20with%20solutions%20to%20work%20around%20it%3F%3C%2FDIV%3E%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%3EThanks%2C%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1510236%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3Edeep%20link%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EGraph%20API%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMeetings%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOnlineMeetings%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1512045%22%20slang%3D%22en-US%22%3ERe%3A%20Problem%20when%20trying%20to%20join%20a%20meeting%20created%20using%20the%20MS%20Graph%20API%20via%20desktop%20application%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1512045%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F722820%22%20target%3D%22_blank%22%3E%40Developers_Invillia%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20am%20not%20able%20to%20reproduce%20it.%20Can%20you%20please%20share%20which%20version%20of%20Teams%20client%20sdk%20are%20you%20using%3F%3CBR%20%2F%3E%3CBR%20%2F%3EJust%20to%20confirm%20from%20the%20below%20snippet%2C%20You%20are%20facing%20when%20below%20code%20snippet%20executes%20right%20%3F%3CBR%20%2F%3E%3CEM%3Econst%20joinUrl%20%3D%20encodeURI(%3CSTRONG%3EjoinUrl%3C%2FSTRONG%3E)%3B%3C%2FEM%3E%3CBR%20%2F%3E%3CEM%3EmicrosoftTeams.executeDeepLink(%3CSTRONG%3EjoinUrl%3C%2FSTRONG%3E)%3B%3C%2FEM%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1512611%22%20slang%3D%22en-US%22%3ERe%3A%20Problem%20when%20trying%20to%20join%20a%20meeting%20created%20using%20the%20MS%20Graph%20API%20via%20desktop%20application%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1512611%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F451628%22%20target%3D%22_blank%22%3E%40subhasish-MSFT%3C%2FA%3E%26nbsp%3BHello%2C%20we%20are%20using%20version%201.6.0.%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3EExactly%2C%20the%20error%20to%20connect%20to%20a%20meeting%20happens%20only%20through%20deeplink.%20From%20a%20meeting%20created%20by%20the%20MS%20Graph%20API%20onlineMeetings.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1538754%22%20slang%3D%22en-US%22%3ERe%3A%20Problem%20when%20trying%20to%20join%20a%20meeting%20created%20using%20the%20MS%20Graph%20API%20via%20desktop%20application%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1538754%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F722820%22%20target%3D%22_blank%22%3E%40Developers_Invillia%3C%2FA%3E%26nbsp%3B%2C%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20am%20able%20to%20reproduce%20it%2C%20For%20quick%20fix%20I%20tried%20using%20with%20out%20encoding%20the%20URL.%3C%2FP%3E%0A%3CP%3ETry%20calling%20like%20this.%3C%2FP%3E%0A%3CP%3EmicrosoftTeams.executeDeepLink('meeting_url')%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIt%20did%20work%20for%20me.%20Please%20let%20me%20know%20if%20it%20helps.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

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:

 
API onlineMeeting
 
POST https://graph.microsoft.com/v1.0/me/onlineMeetings
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",
          },
        },
      },
    },
}
 
And here's how we use it on sdk @microsoft/teams-js:
 
 
microsoftTeams.initialize();
microsoftTeams.getContext((context => {
    if (context.hostClientType === "web") {
        window.open(joinWebUrl, "_blank")
        return;
    }
 
    const joinUrl = encodeURI(joinUrl);
    microsoftTeams.executeDeepLink(joinUrl);
}));
 
Is anyone having the same problem or can they help us with solutions to work around it?
 
Thanks,
3 Replies
Highlighted

@Developers_Invillia ,

 

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); 

Highlighted

@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.

Highlighted

@Developers_Invillia , 

 

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.