An Azure communication platform for deploying applications across devices and platforms.
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.joinalone does not authorize the ACS identity to start the VoIP session. - Already in progress:
voip.joinauthorizes 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);
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:
- Organization-wide Anonymous users can join a meeting is enabled.
- The organizer’s meeting policy also permits anonymous join.
- Anonymous users and dial-in callers can start a meeting is enabled.
- 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.joinis 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
- Understanding calling codes and subcodes errors (callend)
- Identity model
- Join a Teams meeting - An Azure Communication Services how-to guide | Microsoft Learn
- Teams meeting capabilities for Teams external users
- Teams settings and policies reference
- IT Admins - Manage lobby options in Microsoft Teams