403 Forbidden Error When Using Azure Communications Services SDK with teams.live.com Meeting URLs

Joyal Shah 0 Reputation points
2024-07-17T20:10:27.5733333+00:00

Hi,

I am encountering a 403 Forbidden error when attempting to join a Teams meeting using the Azure Communications Services SDK in a TypeScript project. This issue specifically occurs with meeting URLs of the format: https://teams.live.com/meet/<MEETING_ID>?p=<PASSWORD>. When trying to join the meeting, the request POST https://api.flightproxy.skype.com/api/v2/cpconv fails with a 403 Forbidden message. The response body shows:

{
	{
	  "reason":
	  "code":
      subCode":
      "phrase":
      "resultCategories":
      "acceptedElsewhereBy":
     },
     "conversationType":
     "CorrelationId":
}

Previously, this functionality was working without any issues.

However, when using meeting URLs of the format: https://teams.microsoft.com/l/meetup-join/19%3ameeting_<THREAD_ID>%40thread.v2/0?context=<CONTEXT_DATA>, the SDK works correctly and I am able to join the meeting successfully.

ACS user has an access token with the scopes "voip" and "chat".

Steps to Reproduce:

  1. Generate a meeting URL with the format: https://teams.live.com/meet/<MEETING_ID>?p=<PASSWORD>.
  2. Use the Azure Communications Services SDK to join the meeting with this URL.
  3. The SDK throws a 403 Forbidden error, preventing the join operation.

Additional Information:

  • The token used is refreshed and valid.
  • The issue persists across different network environments.
  • This is a test project using a personal Teams account.

Request:

I would like to understand why the teams.live.com URLs are causing a 403 Forbidden error with the specific message "Acs user is not allowed to create conversation" and if there have been any recent changes or additional requirements for using these URLs with the Azure Communications Services SDK. Additionally, any guidance on how to resolve this issue would be greatly appreciated.

Thank you for your assistance.

Tutorial followed: https://video2.skills-academy.com/en-us/azure/communication-services/quickstarts/chat/meeting-interop?pivots=platform-web

Azure Communication Services
Azure Communication Services
An Azure communication platform for deploying applications across devices and platforms.
847 questions
0 comments No comments
{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.