azure-integration

Configure and manage Datadog Azure integrations for metrics, resource collection, and CSPM.

5|2|Updated Mar 9, 2026
One-click install
npx skills add https://github.com/lauhon/pi --skill azure-integration-lauhon
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: azure-integration
Source: https://github.com/lauhon/pi/tree/main/skills/azure-integration
Command: npx skills add https://github.com/lauhon/pi --skill azure-integration-lauhon

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Setting up and maintaining Datadog's Microsoft Azure integration requires coordinating app registrations, role assignments, metric provider configs, and security settings across tenants and subscriptions, which is error-prone when done manually. ## Core Features & Use Cases - Azure Account Lifecycle Management: List, create, update, and delete Azure app registration integrations via the Datadog V1 API using the pup CLI. - Metrics and Resource Control: Configure Azure Monitor metrics, per-resource-provider toggles, tag-based filters for VMs, App Service Plans, and Container Apps, plus automute for VM shutdowns. - Security and Cost Optimization: Enable CSPM with resource collection, and reduce metric volume by disabling unused providers, custom metrics, and usage metrics. - Use Case: A platform engineer needs to onboard a production Azure subscription to Datadog with CSPM enabled and only production-tagged VMs monitored; this Skill walks through app registration, role assignment, and a single create command with the right flags. ## Quick Start Ask the agent to list all configured Azure integrations or to create a new Azure integration by providing your tenant ID, client ID, and client secret.

Frequently Asked Questions about azure-integration

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up a Datadog Azure integration?

Create an app registration in Azure Active Directory, generate a client secret, and assign Reader and Monitoring Reader roles on the subscription. Then run pup azure accounts create with your tenant ID, client ID, and client secret to register the integration in Datadog.

How do I enable CSPM for an Azure subscription in Datadog?

Update the integration with --cspm-enabled=true and --resource-collection-enabled=true, since CSPM requires resource collection. The app registration also needs the Security Reader role on the subscription for security findings to be collected.

What Azure roles does the Datadog integration need?

Basic monitoring requires the Reader and Monitoring Reader built-in roles on each subscription. Enabling CSPM additionally requires the Security Reader role. A custom least-privilege role with read actions is also possible.

How do I reduce Azure metric costs in Datadog?

Set metrics-enabled-default to false and explicitly enable only needed resource providers, disable custom and usage metrics, and apply tag-based host filters to exclude dev and test resources. This can substantially reduce metric volume.

Why does my Azure integration fail to authenticate?

Authentication failures usually mean the client secret is incorrect or expired, the app registration or service principal does not exist, or role assignments are missing. Verify credentials in Azure AD and rotate expired secrets with pup azure accounts update.

Can one Azure app registration monitor multiple subscriptions?

Yes, a single app registration can monitor multiple subscriptions if it is granted Reader and Monitoring Reader roles on each one. Alternatively, create separate app registrations per subscription for more granular access control.