How to Use Own JavaScript Bundle CallComposite.js to Join a Teams Meeting as Teams User

Udara Chandimal 0 Reputation points
2024-11-27T05:17:45.7266667+00:00

I am trying to use callComposite.js (https://azure.github.io/communication-ui-library/?path=/docs/composites-build-your-own-javascript-bundle--docs) to join a teams meeting as a Teams user. I can successfully join the meeting as an external user but need to join the meeting from my own teams account.
I have followed the documentation and created the necessary token and I can successfully join the meeting as a Teams user in here https://azure.github.io/communication-ui-library/?path=/story/composites-callcomposite-join-existing-call-as-teams-user--join-existing-call-as-teams-user

I just need to know how to adjust following set of code line to join the meeting as a teams user

      const callAdapter = await callComposite.loadCallComposite(
        {
          locator: { meetingLink: this.meetingURL },
          userId: { microsoftTeamsUserId: this.teamsUserIdentifier.RawId },
          token: this.accessToken,
          options: {
          }
        },
        document.getElementById('call-container'),
        {
        }
      );
Azure Communication Services
Azure Communication Services
An Azure communication platform for deploying applications across devices and platforms.
925 questions
{count} votes

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.