‎Call Compliance Recording Issue for Calls via Graph API‎

Babu Singh 5 Reputation points
2025-10-30T11:22:21.79+00:00

Scenario:

We have call compliance recording partner and when we add Teams user to Call Compliance Policy Group the calls stops working.

The calls are working fine when Teams user is not assigned to Call Compliance policy group.

Technical Details:

We use the Graph API to create a call between a bot and a Teams user, then invite an external (PSTN) participant.

Without any recording policy, all calls (including PSTN participants) work as expected.

When we assign the Teams user to a Call Recording Compliance Policy group, the call between bot and Teams user still succeeds, but inviting the phone participant fails.

In failed calls (with compliance policy), the “phone” participant information is missing in the response.

Summary:

The PSTN participant invite fails only when the Teams user is under a call recording compliance policy.

The error 403#10151 appears consistently.

Request:

Please help investigate why inviting external (PSTN) participants via Graph API fails when call recording compliance is active.

Microsoft Teams | Development
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Kudos-Ng 8,255 Reputation points Microsoft External Staff Moderator
    2025-10-30T13:50:22.5866667+00:00

    Hi Babu Singh,

    Thank you for posting your question in the Microsoft Q&A forum. 

    From what you described, it seems you are experiencing an issue with a peer-to-peer call where compliance recording policy is enabled, and you are trying to invite an external PSTN participant using the Graph API addParticipant method. Please confirm if my understanding is correct.

    Based on this behavior, I conducted some research and found that multiple users have reported similar issues in the past. From what I know, resolving this scenario typically requires engagement with the engineering team. To proceed, you will need to create a support ticket via the Microsoft 365 Admin Center so that a support agent can investigate further.

    However, while waiting for the support team to reach out, you might consider testing the following workaround:

    • Try the same scenario using a scheduled Teams meeting instead of a peer-to-peer call.
    • This step can help narrow down whether the unexpected behavior is specific to the call type or applies to meetings as well.

    I hope the information above is helpful. If you have any further questions, please feel free to share.


    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


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.