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