Azure Communication Services with Microsoft Teams

Saravana 161 Reputation points
2021-11-22T13:00:29.81+00:00

I am using the below code sample to connect to Microsoft Teams meeting using Azure Communication Calling JS SDK

https://learn.microsoft.com/en-us/azure/communication-services/quickstarts/voice-video-calling/get-started-teams-interop?pivots=platform-web

I had issue with connecting to Joining teams meeting. Initially I used the code without any modification except for token. When I used for meeting link https://teams.live.com/meet/1234567890, it was giving me null pointer exception.

I modified the code just to use meeting id.

callAgent.join({ meetingId: 1234567890 }, {});  

I got the below error when the HTTP POST to URL https://api3.cc.skype.com/conv/

{  
  "operationFailure": {  
    "sender": null,  
    "reason": "unknown",  
    "code": 404,  
    "subCode": 5732,  
    "phrase": "Conversation ending after scheduled meeting not found in Scheduling Service. ",  
    "resultCategories": [  
      "UnexpectedClientError"  
    ],  
    "acceptedElsewhereBy": null  
  },  
  "CorrelationId": "7f9ab56a-6460-4368-888e-1af3c860ce8d"  
}  
  

In the above samples, I have masked the meetingid to a dummy value of 1234567890

Let me know how to resolve this issue.

Azure Communication Services
Azure Communication Services
An Azure communication platform for deploying applications across devices and platforms.
1,003 questions
0 comments No comments
{count} votes

Accepted answer
  1. Saravana 161 Reputation points
    2021-11-27T14:18:45.883+00:00

    For anyone who stumbles on this issue.

    Azure Communication Services works only with Teams subscribed with Microsoft 365 subscription. It won't work with free version of Teams Account. The Microsoft 365 Teams meeting link will be start with https://teams.microsoft.com/l/meetup-join and free version of Teams will have meeting link starting with https://teams.live.com/meet/. It works only for teams.microsoft.com, not with teams.live.com.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. kaniartur 76 Reputation points
    2021-11-28T22:21:00.813+00:00

    Hi @Saravana , please note that "meeting Id" join functionality is currently in preview phase, you should be using meetingLink to join to Teams meeting, as you've noted there are some differences around Freemium and m365 subscription - we'll update our documentation to highlight this.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.