An Azure communication platform for deploying applications across devices and platforms.
Hello @Dariusz Cybulski
The documented requirements are the delegated Teams.ManageCalls and Teams.ManageChats permissions. Both are required to exchange a Teams user’s Microsoft Entra token for an ACS access token. Microsoft doesn’t document any additional permission needed to retrieve another same-tenant participant’s policy.
Since token exchange succeeds, the caller-policy request returns 200, and the calls connect with working audio and video, the documented authentication requirements appear to be satisfied.
However, subcode 5002 for the internal /acsmt/v2/useraggregatepolicysettings/ endpoint isn’t defined in Microsoft’s published ACS error-code documentation. I cannot find verified official documentation to confirm whether it represents a policy restriction or an internal service/SDK issue.
The unhandled rejection may indicate an SDK error-handling issue, but you should first reproduce it during an actual call with version 1.46.1. If it persists, open an Azure support request and provide the UTC timestamp, client call ID, SDK/browser versions, verbose SDK logs, and the sanitized 200 versus 401/5002 request comparison. Microsoft recommends collecting the client call ID and SDK logs for service-side investigation.
References:
Microsoft Entra permissions for communication as a Teams user
Set up and create access tokens for Teams users
Troubleshooting in Azure Communication Services
ACS Calling SDK troubleshooting codes
Help make this community better for everyone: If this answer helped or resolved your issue, please accept it or upvote it. If not, share more details in a comment so we can continue the discussion and find the right solution. Thank you.