Get a request on a route when a Azure AD User is called

Paul Nonnenmacher 1 Reputation point

I am trying to implement a system when a user from my Azure AD group receive a call on teams, a request with caller info (such as call id, caller phone number) would be send to my API.
Is there is any way to do that ?

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,604 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. ShivaniRai-MSFT 2,726 Reputation points

    Hello @Paul Nonnenmacher ,

    You can use Get callRecord Graph API to fetch caller info. Use the below Graph API Endpoint:

    GET /communications/callRecords/{id}  

    There are two ways to get the {id} for the above Graph API call:

    • Subscribe to change notifications to the /communications/callRecords endpoint.
    • Use the callChainId property of a call. The call record is available only after the associated call is completed.

    Hope this helps.

    If the answer is helpful, please click Accept Answer and kindly upvote it. If you have any further questions about this answer, please click Comment.

    0 comments No comments