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

Paul Nonnenmacher 1 Reputation point
2022-04-21T08:21:47.913+00:00

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 ?

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
14,617 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. ShivaniRai-MSFT 2,686 Reputation points
    2022-04-22T14:39:01.423+00:00

    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