Can an ACS user with only voip.join be the first to join a scheduled Teams meeting (error 403/5844)?

System Admin 0 Reputation points
2026-11-24T08:12:18.1233333+00:00

For Calling Web SDK 2.0.0, which service component emits callEndReason.code=403, subCode=5844 on a Teams meeting-link join, and which authorization check does it represent? Can an ACS communication user with **only **voip.join be the first connected participant in an empty, scheduled Teams for Business meeting when anonymous start is enabled and lobby bypass is Everyone? Does the answer change for a new ACS participant joining after the last Teams-authenticated participant leaves?

Azure Communication Services
0 comments No comments

1 answer

Sort by: Most helpful
  1. AI answer

    2026-11-24T08:13:53.0366667+00:00

    An ACS communication user whose token contains only voip.join cannot be relied upon to create the first connected session in an empty Teams meeting; anonymous-start and lobby-bypass settings permit anonymous attendance but do not expand the ACS token’s authorization beyond joining an in-progress call.

    What 403 / 5844 establishes

    callEndReason is produced through the Calling SDK’s unified client/server error framework. A 403 is a client-error-class response, while the subcode identifies the specific scenario. The SDK exposes the result after disconnection through call.callEndReason.^1^

    call.on("stateChanged", () => {
      if (call.state === "Disconnected") {
        const { code, subCode } = call.callEndReason ?? {};
        console.log("Teams join ended", { code, subCode });
      }
    });
    

    Microsoft’s public call-end table does not define subcode 5844. It lists nearby 403 subcodes 5828, 5829, and 5830 for ACS Rooms authorization restrictions, but not 5844.^1^

    Consequently:

    • The failure is a service-side rejection surfaced by the Calling SDK, not a locally generated JavaScript exception.
    • No public Microsoft contract identifies the precise internal service component that emits 5844.
    • No public mapping definitively names the authorization check represented by 5844.

    In this scenario, interpreting it as the join-only token being rejected when the operation would start an empty call is consistent with the documented permission model, but the undocumented subcode alone cannot prove that internal mapping.

    First participant with only voip.join

    The ACS scope table makes the relevant distinction:

    Operation voip voip.join
    Start a VoIP call Yes No
    Join an in-progress VoIP call Yes Yes

    The documented exception allowing voip.join to start a scheduled call applies to ACS Virtual Rooms when the user has already been invited to the Room. It does not establish the same exception for a scheduled Teams meeting.^2^

    Therefore, for the stated Teams meeting:

    • Empty/not started: voip.join alone does not authorize the ACS identity to start the VoIP session.
    • Already in progress: voip.join authorizes joining it.
    • To avoid the token-level restriction for the first participant, issue a token with voip, subject to the Teams meeting policies described below.

    The supported Web SDK operation remains a meeting-link join:

    const locator = { meetingLink: teamsMeetingLink };
    const call = callAgent.join(locator);
    

    ^3^

    Why the Teams settings do not override the scope

    ACS communication users appear to Teams as anonymous external users. Teams honors both Let anonymous people start a meeting and automatic-admission settings for those users.^4^

    For a leaderless meeting, all of these Teams-side conditions must be satisfied:

    1. Organization-wide Anonymous users can join a meeting is enabled.
    2. The organizer’s meeting policy also permits anonymous join.
    3. Anonymous users and dial-in callers can start a meeting is enabled.
    4. Who can bypass the lobby is set to Everyone.

    That start setting only works with the other three conditions.^5^ These controls decide whether Teams will admit an anonymous participant without a verified participant present; they do not grant the ACS token a missing voip capability.

    After the last Teams-authenticated participant leaves

    The answer changes if the meeting is still in progress.

    Teams documents that after a meeting has started, anonymous participants join automatically even if the organizer leaves.^6^ Therefore:

    • If one or more participants remain connected and the meeting remains active, a new ACS user with voip.join is joining an in-progress call and can be admitted, assuming anonymous join remains allowed.
    • The continued presence of a Teams-authenticated participant is not required after the meeting has started.
    • If everyone has left and Teams has ended the active meeting instance, the next ACS connection may again constitute starting rather than joining an in-progress call. The public documentation does not define that lifecycle boundary in terms of subcode 5844; confirm it from the meeting/call state and service logs rather than from the subcode alone.

    For escalation, capture the call ID, UTC timestamp, organizer tenant, SDK version, callEndReason, browser console log, and HAR trace, then ask ACS support to map 5844 to the backend operation for that call.


    References

    1. Understanding calling codes and subcodes errors (callend)
    2. Identity model
    3. Join a Teams meeting - An Azure Communication Services how-to guide | Microsoft Learn
    4. Teams meeting capabilities for Teams external users
    5. Teams settings and policies reference
    6. IT Admins - Manage lobby options in Microsoft Teams
    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.