Initial Setup of the Datadog Azure Integration - App Registration and the Native Integration

This article compares the two methods for connecting Azure to Datadog (App registration and the Azure Native Integration) from the standpoint of where billing goes and where permissions live. It covers the syntax for narrowing metrics with tags, the difference between automated log forwarding and an Event Hub configuration, and where things trip you up as subscriptions grow, organized around the three decisions to make.

App registration versus the native integration: the difference is where billing goes and where permissions live

There are two entry points for connecting Azure to Datadog. One is the method in which you hand Datadog the credentials of an App registration in Microsoft Entra ID, which works on every Datadog site. The other is the Azure Native Integration, in which you create a "Datadog resource" in the Azure portal, and it presupposes a Datadog account on the US3 site (as of September 2026; source: Azure Native Integration). Because the official docs state explicitly that the data you can obtain is identical in both methods, the differences are "whether the charges appear on your Azure invoice" and "which side the permissions live on" (source: Azure Advanced Configuration). How things look compared with Azure Monitor is left to the comparison article, and the distinction from Agent-side integrations to the Integrations explanation; this article narrows down to the three decisions you make in the connection procedure.

  • 1. Method - App registration (all sites) or the Azure Native Integration (US3 site)
  • 2. Collection scope - how far to narrow metrics and logs with tags
  • 3. Log route - automated forwarding (recommended), or continue using an existing Event Hub configuration
The three decisions to make first in an Azure integration (as of September 2026; source: Getting Started with Azure)

Can the App registration method use authentication that holds no key?

The first thing to decide is the type of authentication. In the official procedure as of September 2026, you can choose between Secretless Auth (recommended), which establishes a trust relationship with OpenID Connect federated credentials, and Client Secret, which stores a client secret in Datadog (source: Getting Started with Azure). The former never suffers an ingestion outage from expiry; the latter comes with the operational chore of tracking the expiry yourself. On US1-FED / US2-FED, only Client Secret is available. There are three creation paths: Quickstart (running a script in Cloud Shell), Terraform, and Add Existing for an existing App registration. With Terraform, you pass tenant_name and client_id to datadog_integration_azure and set secretless_auth_enabled to true.

Permissions required for the App registration method (as of September 2026)
WherePermission requiredFor what
Microsoft Entra ID"Users can register applications" set to Yes, or the Application Developer roleCreating the App registration
The subscriptions to monitorOwner, or both Contributor and User Access AdminRole assignments such as Monitoring Reader
Microsoft Entra IDPrivileged Role AdministratorGranting and consenting to Graph API permissions
DatadogDatadog Admin Role, or the azure_configurations_manage permissionConfiguring the integration tile
Source: Getting Started with Azure (Permissions required for integration setup)

What the Azure Native Integration shifts to the Azure side

With the Azure Native Integration, you create a Datadog resource in the Azure portal and link the subscriptions to monitor. For a Datadog organization newly created via the portal, billing is consolidated into the Azure invoice and also counts toward your consumption commitment (MACC) (as of September 2026; source: Azure Native Integration). The three prerequisites are a Datadog account on the US3 site, Owner on the Azure subscription, and Admin in the Datadog organization. On the flip side, the official docs list resource-level metric filters, Cloud Cost Management, log archives, and Storage Management as not supported; if you need them, you create a separate App registration even on US3. If you connect the same subscription with both methods, a redundancy warning appears on the integration tile. The range of operations possible from the portal is summarized in the table in the next section.

Comparing the two methods on four points

The choice is made by elimination. On any site other than US3, the App registration method is the only option. Organizations on US3 that also want to shift Datadog costs onto their Azure billing, or that want to complete everything through enabling monitoring from within the Azure portal, have the Azure Native Integration as a candidate. On top of that, if you plan to use Cloud Cost Management or log archives, factor in that choosing Native still comes with the extra work of adding an App registration.

Differences between the App registration method and the Azure Native Integration (as of September 2026)
ItemApp registration methodAzure Native Integration
Supported sitesAll sites (Secretless Auth on all except US1-FED / US2-FED)US3 only
Where billing goesAs per your contract with DatadogOrganizations newly created in the portal are consolidated into the Azure invoice (counted toward MACC)
Where permissions liveThe App registration in Entra ID and role assignments on the subscriptions. Credentials are managed on the Datadog integration tileThe Datadog resource in the Azure portal. The creator is the subscription Owner and a Datadog organization Admin
Narrowing metricsTag filters can narrow across all resource typesTag rules are limited to VMs / VM scale sets / App Service plans; other resource types cannot be narrowed
Log routeAutomated forwarding (recommended) or an Event Hub configurationEnabled under Metrics and logs on the Datadog resource (archives require an App registration)
Operations possible from the portalConfigured on the Datadog-side integration tileOn the Datadog resource screens: linking subscriptions, tag rules for metrics and logs, distributing the Agent extension to VMs, reconfiguring SSO, changing the billing plan, and enabling / disabling the integration
Features not supportedNoneResource-level metric filters / Cloud Cost Management / log archives / Storage Management
Sources: Getting Started with Azure and Azure Native Integration

The bottom two rows of the table are the substance of the decision. If the differences in "how far you can narrow" and "features not supported" do not touch your requirements, there is no harm in choosing purely on billing convenience.

Narrow the metric collection scope with tag filters

With no filter specified, metric collection targets every resource in scope and picks up all Azure Monitor metrics at the default 2-minute interval, so unless you narrow it, series you never use arrive too (as of September 2026). The tool for narrowing is the tag filter on the Configuration tab of the integration tile: list key:value pairs separated by commas, and only resources matching any one of the tags are collected (source: Getting Started with Azure).

datadog:monitored,env:production,!plan_tier:basic,instance-type:c1.*

Read it as "collect datadog:monitored or env:production, exclude plan_tier:basic, and also include anything whose instance-type starts with c1." In practice, starting from two entries, the production env tag as an inclusion and the test environment excluded with !, means later extensions are simply additive.

Tag filter syntax and narrowing on the Add Existing screen (as of September 2026)
ElementMeaning
key:valueOne tag. List several separated by commas; a match on any one means collection
?Single-character wildcard
*Multi-character wildcard
!key:valueExclusion. When it conflicts with an inclusion, the exclusion wins
Advanced ConfigurationNarrowing along five lines: Resource provider / Tags / Hosts / App Service Plans / Container Apps. Ingestion of Application Insights custom metrics and stopping usage metrics are on the same screen
Source: Getting Started with Azure (Resource tag filtering for metrics / Use an existing app registration). The 2-minute interval is described in Azure Advanced Configuration

As of September 2026, the official docs have an order of preference for log routes. The first choice is direct sending from the Agent (a DaemonSet on Kubernetes); next is automated log forwarding for resources that cannot do that; and the combination of Event Hub and a forwarder function has become legacy, for existing configurations (source: Azure Advanced Configuration). Deployment is via Configure Log Forwarding (Cloud Shell) on the integration tile or an ARM template. The configuration has two layers: a control plane discovers resources and attaches diagnostic settings, and per-region forwarders send to Datadog. Forwarders are per region because diagnostic settings can only target a storage account in the same region (source: Azure Automated Log Forwarding Setup). What happens after the logs arrive belongs to the Log Management side.

How the log routes work and how to choose (as of September 2026)
RouteMechanismSuited toConstraints
Automated forwardingA control plane (one Azure Functions app plus a storage account for caching) discovers resources and automatically creates diagnostic settings, and per-region forwarders (Azure Container Apps jobs plus a storage account) read out the logs and send them to Datadog. The control plane scales the number of forwarders up and down according to log volumeNew configurations. When you want to deploy declaratively via the portal or a template and keep costs down with storage accounts rather than Event HubAzure commercial cloud only (Government / China not supported). ARM template deployment requires management group permissions
Event Hub (legacy)Resource diagnostic settings send to an Event Hub, and a forwarder function sends to DatadogMaintaining an existing configuration. When you want to attach your own tags to resourcesDiagnostic settings can only send to an Event Hub in the same region. Multiple subscriptions in the same tenant can share one set in the same region
Log Analytics workspace exportA data export rule writes to the forwarder's storage account, piggybacking on automated forwardingWhen you want tables collected in a workspace to ride on automated forwardingUp to 10 data export rules per workspace. Same region as the forwarder. 2 to 5 minutes to arrive, up to 20 minutes the first time
Sources: Azure Automated Log Forwarding Setup and Azure Advanced Configuration

Where things trip you up as subscriptions grow

In organizations with many subscriptions, choosing the scope at the management group level on the Quickstart or Terraform screen saves you from registering each child individually. When handling multiple tenants with Terraform, separate them by attaching aliases to the provider blocks. What you must not do, conversely, is monitor the same subscription with multiple App registrations: the official docs warn that overlapping access settings invite integration malfunctions and can also increase costs on the Azure Monitor side (as of September 2026; source: Azure Advanced Configuration). The way of thinking when handling multiple accounts on AWS is the same shape as in the AWS integration article. The moments where your hands stop after connecting are gathered in the next table.

Where the Azure integration trips you up and where to look (as of September 2026)
SymptomWhat to check first
Metrics do not arriveHave you waited the roughly 15 minutes until they start arriving (the Terraform procedure says up to 10 minutes)? Does the App registration have read permission on the target subscription? On ARM-deployed VMs, is Diagnostics enabled?
Values do not match the Azure screensDatadog displays raw data as per-second values, and spatial aggregation corresponds to the primary aggregation type on the Azure side. Line them up with the same dimension / aggregation / period and compare again
Stopped VMs remain in the listBy design only azure.vm.status arrives, and a VM sending only that is not counted as a billable host. Deleted VMs disappear from the list within 3 hours
You cannot notice integration errorsThings like credential expiry are re-issued to the Events Explorer every 5 minutes. Enable the monitor template [Azure] Integration Errors (recovers after 15 minutes without detection)
A redundancy warning appearsThe same subscription is connected through both Native and an App registration. If the App registration is for archives, you can ignore it
Sources: Azure Advanced Configuration and Getting Started with Azure

The fourth row of this table is the most effective. If you decide in advance how errors will surface, the "we noticed three days of metrics were missing" type of accident turns into something settled by a single notification.

References

Share