Edit

Share via


Datadaog agent installation fails, or default API key is incorrect

Summary

The Azure Datadog integration enables you to install a Datadog agent on a virtual machine or app service. This article helps you troubleshoot Datadog agent installation failures that are caused by a missing default API key. It also describes how to change the default key.

Prerequisites

  • Access to the Azure portal with permissions to view or configure the Datadog integration and to restart virutal machines (VMs) or app services if required.

Problems and solutions

Problem: Datadog installation fails

If a default API key isn't selected, the Datadog agent installation fails.

Solution

  1. In the Azure portal, go to the Datadog resource.
  2. Select Settings > Keys.
  3. In API Keys, change the default key.
  4. Try again to install the agent.

Problem: Incorrect API key configured on the resource

The API key for the resource is incorrect.

Solution

  1. In the Azure portal, go to the Datadog resource.
  2. Select Settings > Keys.
  3. In API Keys, change the default key.
  4. Uninstall the Datadog agent and reinstall it.