0
votes

Can we get Microsoft Teams call data through Microsoft Graph API ???

The call may be through a teams meeting link provided in the meeting invite.

I would like to get the start time and end time of the call.

I have tried following queries

https://graph.microsoft.com/v1.0/communications/calls/

https://graph.microsoft.com/v1.0/communications/onlineMeetings

1

1 Answers

1
votes

You could use this Microsoft Graph API - Get onlineMeeting, the startDateTime and endDateTime will be included in the response.

GET https://graph.microsoft.com/v1.0/communications/onlineMeetings/?$filter=VideoTeleconferenceId%20eq%20'123456789'

Note the permissions, it just supports the Application permission what means you can only use client credential flow to get the access token, then use the token to call the API.

For more details about how to get the token and call the API, follow this link - Get access without a user.