question

PaulNonnenmacher-5032 avatar image
0 Votes"
PaulNonnenmacher-5032 asked ShivaniRai-MSFT-7217 answered

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

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-ad-graphmicrosoft-graph-identity
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

ShivaniRai-MSFT-7217 avatar image
0 Votes"
ShivaniRai-MSFT-7217 answered

Hello @PaulNonnenmacher-5032,

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.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.