Getting started with the Microsoft Teams Add-on for Splunk
This article walks you through setting up the Microsoft Teams Add-on for Splunk to retrieve call record data. For more information about Microsoft Teams call record data, how the data is made available, and how to utilize the data, refer to Getting started with Microsoft Teams call record data.
Microsoft has introduced a new REST API to retrieve Teams Call Record data. This new API eliminates the need for a Teams subscription and Teams webhook. Version 2.x of the Microsoft Teams Add-on for Splunk includes a new input which utilizes this API and simplifies the setup process.
How to use Splunk software for this use case
Set up a Teams global account
- Create an Entra ID app registration in the Azure portal.
- Assign the CallRecords.Read.All (Application) permission to the Azure AD app registration.
- Launch the Microsoft Teams Add-on for Splunk.
- Select Configuration > Add.

- Enter the following details:
- Account name
- Client ID (application ID) from your Entra ID app registration
- Client Secret from your Entra ID app registration
- Click Add.

Set up a Teams call record input
- Launch the Microsoft Teams Add-on for Splunk.
- Select Inputs > Create New Input > Teams Call Record (New).

- Enter the following details:
- Enter a Name.
- Enter an Interval. This input should run frequently to check for received call record headers.
- Select an Index.
- Select a Global Account.
- Enter the Tenant ID, otherwise known as a Directory ID. You can get this from the Azure portal.
- Select the Environment.
- Choose to include or exclude null values.
- Select a Start Date.
- Select an Endpoint.
- Click Add.

Verify call record data
Run the following search:
sourcetype="m365:teams:callrecord" earliest=0
Results will only appear after a Teams call has ended. It takes a few minutes for Microsoft Teams to push the call record header to the Splunk platform after a call ends.
Next steps
After call record data is ingested, the Microsoft 365 App for Splunk has several out-of-the-box dashboards to visualize common use case scenarios. Refer to the Getting started with Microsoft Teams call record data article for more details.
In addition, this resource might help you understand and implement this guidance:

