The Microsoft Call RecordingAPI at Teams is now "Generally Available"
Many organisations want to have an in-depth look at the usage (number of calls, who called whom, which modalities were used, etc.) and performance (packet loss, latency, etc.) of their unified communications.
A little history
In Skype for Business Server, we were able to retrieve all the data from the back-end CDR/QoE SQL databases, and later in its lifecycle, we were able to leverage the SDN-API to obtain detailed session information. In addition, many third-party vendors have developed products that collect, sort, and interpret this data into useful, actionable insights for customers.
In Skype for Business Online, there is only limited access via the` Powershell ` and `Get-CsUserSession` commands (now deprecated; see below), but it was difficult to obtain information on a large scale.
Call Records API , is now generally available
From now on, for Microsoft Teams, and Skype for Business Online, there is the "API " feature for call recordings. A Webhook Graph API will provide access to this information.
In March, this public preview was released and was available via the GraphAPI beta, but is now part of Graph v1.0.
There are two versions of the API Microsoft Graph REST—v1.0 and beta. The beta versions of the API are in preview status, are subject to change, and may break existing scenarios without notice. Microsoft recommends that you do not rely on API in the beta endpoint for production. TheAPI endpoints on the v1.0 endpoint (https://graph.microsoft.com/v1.0) are in “GA” status.
Call recordings provide usage and diagnostic information about calls and online meetings that take place within your organization when using Microsoft Teams or Skype for Business. Usage and diagnostic data can be analyzed and reported to help monitor adoption or troubleshoot call quality issues.
Organizations can subscribe to changes made to call records using the webhook subscription feature at Microsoft Graph, which allows them to generate near-real-time reports based on the data or trigger alerts for specific scenarios, such as emergency calls.
Now that the Call RecordsAPI is generally available (GA), you can expect to see reporting products from various Microsoft partners collect and generate reports on this data.
You can find more details about the call recordingAPI in the Microsoft documentationhere
TheAPI offers the following resources:
CallRecord
represents a single peer-to-peer call or a group call between several participants
Session
A peer-to-peer call contains a single session between the two participants in the call. Group calls contain one or more session entities. In a group call, each session is between the participant and a service termination point.
Segment
A segment represents a multimedia link between two end points.

Obsolescence of Get-CsUserSession from 30 May 2020
Use the Get-CsUserSession command ( PowerShell ) to retrieve user session information for Skype for Business Online. OnMay 7, Microsoft updated theonline documentationto indicate that this command is deprecated and to recommend switching to the new API command for call logging.

What an article Can't Know
An article describes what applies to everyone. What varies from one organization to another is the inventory: which applications, which accounts, and which pieces of equipment are actually involved in your organization. The inventory determines the scope of the effort, and it cannot be summarized on a single page.
You'll be speaking directly with the engineers who will be doing the work, not with a middleman. We'll respond within 24 business hours.
Check what is still true
Announced dates are sometimes postponed, products are renamed, and conditions change. The blog tracks these topics over time: when a rule changes, a new post announces it.
Search for a topic in the blogIn the same issue
Three articles on the same topic. The blog has 139 articles, all of which are freely available.

