Ms Teams Integration in React App Using Azure Communication Service

Support Team 0 Reputation points
2024-10-19T07:35:43.33+00:00

Hi, I want to integrate Microsoft Teams into my React app. I am using some packages and helper functions provided by Azure Communication Services, as shown below:

import { AzureCommunicationTokenCredential, CommunicationUserIdentifier } from '``@azure``/communication-common';

import { CallComposite, fromFlatCommunicationIdentifier, useAzureCommunicationCallAdapter } from '``@azure``/communication-react';

I have created a resource in Azure Communication Services and am obtaining the token and identity from ACS. However, when I try to integrate Microsoft Teams into my React app, fromFlatCommunicationIdentifier and useAzureCommunicationCallAdapter are not working.

Note: I am using a class component.

I am following the documentation for MS Teams integration here: [MS Teams Integration Documentation]

(https://learn.microsoft.com/en-gb/microsoft-cloud/dev/tutorials/acs-to-teams-meeting?WT.mc_id=m365-80533-dwahlin&tabs=typescript%2Cbash&tutorial-step=2)

Kindly assist on how can I integrate it within our React webapp.

Azure Communication Services
Azure Communication Services
An Azure communication platform for deploying applications across devices and platforms.
894 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
3,340 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.