Error CORS when i using SDK "azure/communication-calling"

Nguyen Uy Dinh 60 Reputation points
2025-06-18T02:03:41.5+00:00

I have using SDK "@azure/communication-calling" to create an "call app" using Azure communication service.
I have using api "https://acp-msteams.azurewebsites.net/token" to create account from ACS. Then i use that token, and meeting information (meeting passcode and meeting id) to join a call.

But api "https://api.flightproxy.skype.com/api/v2/cpconv" has fail, and api "https://prod.registrar.skype.com/v3/registrations" has blocked by CORS "Access to fetch at 'https://prod.registrar.skype.com/v3/registrations' from origin 'http://localhost:8080' has been blocked by CORS policy".

This error not show before.
Pls help me to check and resolve this issue.

Thank you.

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

Accepted answer
  1. Laxman Reddy Revuri 5,395 Reputation points Microsoft External Staff Moderator
    2025-06-18T07:13:04.3966667+00:00

    Hi @Nguyen Uy Dinh
    Apologize for any inconvenience caused on this.

    You’re seeing the CORS error when using callAgent.join() with newly created ACS users because Microsoft has recently tightened policies for Teams interoperability.

    Only ACS tokens associated with a Microsoft Teams user identity (via Entra ID and Teams license) can join Teams meetings as full Teams participants. Direct ACS users (created using CommunicationIdentityClient) can still join Teams meetings as external guests, but with limited capabilities. If your ACS user is not properly federated or lacks the necessary permissions, the SDK’s internal calls to Teams backend services will fail, resulting in CORS errors.
    https://learn.microsoft.com/en-us/azure/communication-services/concepts/interop/enable-interoperability-teams

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

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.