Configure Dynatrace
Use this guide to prepare the Dynatrace side of the integration so it can receive and process data from the collector.
1. Create a Logs Bucket
Section titled “1. Create a Logs Bucket”Create a dedicated Grail bucket for MS Teams data.
Recommended settings:
| Setting | Value |
|---|---|
| Name | ms_teams |
| Display name | Microsoft Teams Observability |
| Table type | logs |
| Retention | 90 days (adjust to your data retention policy) |
2. Create an OpenPipeline Logs Pipeline
Section titled “2. Create an OpenPipeline Logs Pipeline”Create a logs pipeline with the following steps:
- Processing step — parse
startDateTimefrom the JSON payload. - Metric extraction steps for:
ms.teams.callDurationSms.teams.streamDurationS
- Storage assignment — assign processed records to the
ms_teamsbucket.
3. Create a Dynamic Route
Section titled “3. Create a Dynamic Route”Create a routing rule that sends logs matching MSTeams_* source patterns to your Teams pipeline.
4. Allow Required Outbound Hosts
Section titled “4. Allow Required Outbound Hosts”In Dynatrace Settings → Preferences → Outbound connections, add the following hosts to the allowlist:
graph.microsoft.comlogin.microsoftonline.comip-api.com(only if geolocation enrichment is enabled)
5. Add Microsoft Credentials to Credential Vault
Section titled “5. Add Microsoft Credentials to Credential Vault”Create a credential entry for the Microsoft app registration used by the Dynatrace app:
| Field | Value |
|---|---|
| Scope | AppEngine |
| App access | Microsoft Teams Observability |
| Value | client_id/client_secret or certificate with passphrase |
- Go to Settings → Credential Vault.
- Create a new credential.
- Set the scope to
AppEngineand grant access to the MS Teams Observability app. - Enter the credential value (client secret or certificate).
- Save and note the credential ID for the app configuration.
6. Complete App Configuration
Section titled “6. Complete App Configuration”- Open Apps → Microsoft Teams Observability.
- Open Installation & Configuration.
- Set the tenant ID and credential vault reference.
- Save the configuration.
- Verify that live data appears in the dashboards.
If no data appears, check the Collector Connection and Troubleshooting guides.