Azure Monitor Data Collector API End of Support: A Production Migration Guide for Integration Telemetry

Azure integration telemetry migrating from the legacy Data Collector API to a governed Logs Ingestion API pipeline

Written by Jan Daris

Jan Daris is a hands-on Integration Architect and Developer who enjoys solving complex integration puzzles with Azure, Boomi, APIs, and event-driven architecture. Through this blog, he shares practical knowledge, lessons learned, and real-world solutions to help other architects, developers, and IT teams build better integration platforms.

September 17, 2026

Azure Monitor Data Collector API support ended on 14 September 2026. The endpoint may still accept data from TLS 1.2 clients, but Microsoft now limits servicing to critical security fixes and directs customers to the Logs Ingestion API. For integration teams, that distinction matters: this is not an emergency shutdown, but it is an unsupported dependency in the observability path of production interfaces.

The right response is not a blind endpoint replacement. The successor changes authentication, authorization, payload limits, schema ownership, routing and private-network design. This guide turns the retirement into a controlled migration for Logic Apps, Azure Functions, API Management, hybrid middleware and custom integration services.

What the Azure Monitor Data Collector API support end changes

The legacy HTTP Data Collector API offered a simple contract: sign a request with a Log Analytics workspace shared key, attach a log-type name and post JSON. Its low entry barrier made it common in integration solutions. A small Azure Function, PowerShell script or middleware component could send operational events to a custom Log Analytics table without first deploying a separate ingestion configuration.

That simplicity also created long-term liabilities. Workspace keys are broad secrets, routing and transformation logic live in producers, table schemas can evolve implicitly, and the ingestion endpoint provides little separation between applications. A leaked workspace key can expose a much larger ingestion boundary than one interface should need.

The Logs Ingestion API replaces that model with an explicit pipeline. A Data Collection Rule (DCR) defines the input stream, transformation and destination. The sender authenticates through Microsoft Entra ID, preferably with a managed identity. Azure role-based access control can then grant permission on the specific DCR instead of distributing a workspace-wide shared secret.

Microsoft stopped accepting legacy TLS connections on 1 March 2026. From 14 September 2026, the Data Collector API itself is no longer supported. Existing TLS 1.2 calls may therefore keep succeeding, but “still works” is not the same as a supported production architecture. New features, non-critical corrections and design improvements belong to the DCR-based ingestion path.

Move telemetry through a governed ingestion contract

Integration producers
Logic Apps, Functions, APIM, hybrid middleware and custom services
Business event ID + correlation ID + operational context
Legacy path
Workspace shared key and HTTP Data Collector API
Out of support; broad secret boundary
Controlled migration boundary

Managed identityDCR + transform

DCE where Private Link or the DCR type requires it

Operational destination
Log Analytics custom table, alerts, workbooks and downstream export
Explicit schema, ownership and RBAC

Migration control: run a time-bounded parallel path, reconcile counts and critical fields, then revoke the legacy key-based route.
The endpoint change is only one step. A safe migration makes identity, schema, routing, validation and rollback explicit parts of the telemetry architecture.

Who is affected in an integration landscape?

Start with every component that posts custom JSON to a Log Analytics workspace. The obvious candidates are custom log-forwarding Functions and scripts. The less obvious candidates are operational frameworks built around integration platforms: Logic Apps that call the collector through an HTTP action, APIM policies that forward a curated audit event, on-premises agents, scheduled runbook exports and non-Azure middleware that sends business trace events into a shared workspace.

The impact is often indirect. A Logic App may call a shared telemetry Function rather than the API itself. A Boomi Atom may post to an internal observability endpoint that signs the Azure request downstream. Inventory the full route before deciding that a workload is unaffected.

This also deserves management attention when telemetry participates in an operational commitment. If an interface is “green” only because a custom event arrived in Log Analytics, an unsupported ingestion dependency can undermine alerting, incident response and audit evidence without interrupting the business message itself. That is a dangerous partial failure: orders continue, but the team loses the signals needed to prove and operate the flow.

Inventory the legacy ingestion paths before changing them

Search source repositories and configuration stores for the Data Collector endpoint pattern, workspace IDs, the Log-Type header and code that creates an HMAC authorization signature. Include deployment variables, Key Vault secret names, APIM named values, Logic Apps parameters, Function App settings and external schedulers.

In Log Analytics, records with SourceSystem == "RestAPI" can help identify data written through the legacy path. At the resource layer, custom tables with tableSubType equal to Classic also deserve review. Neither signal is a complete dependency map, so correlate it with application owners and recent ingestion activity.

For each producer, record:

  • owner, repository and deployment pipeline;
  • workspace, table, daily volume and peak events per second;
  • payload size distribution and current batching logic;
  • schema, retention, alerts, workbooks and KQL consumers;
  • network route, including Private Link requirements;
  • authentication material and where it is stored;
  • acceptable telemetry loss, duplication and delivery delay;
  • business correlation and replay identifiers.

Do not use the presence of current data as proof that the caller is safe. It only proves that the last request succeeded.

Design the Logs Ingestion API contract

Use identity instead of distributing workspace keys

Give Azure-hosted producers a managed identity whenever possible. Grant that identity the required data-sender role on the DCR at the narrowest practical scope. For external runtimes, use an Entra application or workload identity with controlled credential rotation. The result should be one auditable authorization boundary per telemetry pipeline or trust domain—not one shared credential copied across every interface.

This is more than credential hygiene. Identity-based access makes offboarding, least privilege and incident investigation possible. It also separates the right to send data through a DCR from administrative access to the entire Log Analytics workspace.

Choose the DCR endpoint or a Data Collection Endpoint deliberately

Newer DCRs can expose a direct logs-ingestion endpoint. A Data Collection Endpoint (DCE) is required when the DCR does not have its own endpoint and when your network design uses Azure Monitor Private Link. Treat that choice as architecture, not plumbing. A private ingestion route affects DNS, network security, regional placement, deployment dependencies and disaster-recovery testing.

The request path uses the immutable DCR identifier and a named stream, for example:

{Endpoint}/dataCollectionRules/{DCR-Immutable-ID}/streams/{Stream-Name}?api-version=2023-01-01

Keep those values in environment-specific configuration. Producers should not derive a destination table or embed workspace administration logic.

Treat the schema as a versioned message contract

The old API could adjust a custom table as new fields appeared. Logs Ingestion requires an explicit table schema and DCR stream. That is a feature when managed correctly: it prevents accidental schema growth and makes transformations reviewable. It is a production risk when teams assume arbitrary JSON will keep working.

Define a stable envelope before migration. Useful fields include an event timestamp, interface name, environment, correlation ID, business event ID, operation, outcome, duration, retry count and a sanitized diagnostic object. Avoid placing credentials, personal data or complete business payloads in telemetry. A DCR transformation can rename, project or enrich fields before they reach the destination table, but it should not become an untested replacement for producer ownership.

Version breaking changes explicitly. Keep KQL queries, alerts and workbooks in source control with the DCR and table definition so the observability contract can be promoted and rolled back as one release.

The hidden throughput change: 30 MB becomes 1 MB per call

The legacy Data Collector API accepts payloads up to 30 MB per request. The Logs Ingestion API limit is 1 MB for compressed or uncompressed data per call. That is a major design difference for batch-oriented log shippers.

Do not simply split every 30 MB batch into thirty synchronous calls. Measure event sizes, create batches below the limit with headroom, send independent batches in controlled parallelism and implement exponential backoff for transient responses. Bound the queue so a prolonged Azure Monitor issue cannot exhaust memory or local disk.

Telemetry usually tolerates duplicate delivery better than silent loss. Include a deterministic event ID and preserve the original event timestamp. Where exact count reconciliation matters, use that identifier to detect duplicates during validation. Do not claim exactly-once delivery unless the complete producer, buffer, ingestion and query chain actually enforces it.

Choose between in-place and side-by-side table migration

Microsoft supports migrating a classic custom table in place. This preserves the table name and can reduce changes to existing KQL, alerts and dashboards. The operation is one-off and cannot be rolled back. If legacy Data Collector clients continue writing after the table migration, Microsoft warns not to change the schema while that legacy ingestion remains active.

For a business-critical integration estate, I prefer a side-by-side route unless continuity of the table name is the dominant constraint. Create a DCR-based table or stream, dual-write a representative traffic slice, reconcile the results and move consumers only after the new path has proven its behaviour. The additional temporary ingestion cost buys an evidence-based cutover and a cleaner rollback.

Use in-place migration when the dependency surface is well understood, the table schema is stable and changing downstream queries would introduce more risk than the irreversible conversion. Record the decision and recovery procedure before running the migration command.

A production migration sequence

  1. Freeze accidental change. Name an owner for each legacy path and stop unreviewed schema additions.
  2. Baseline the current service. Capture event counts, bytes, latency, failure rates, table schema, alert coverage and cost for a representative period.
  3. Deploy the destination as code. Create the custom table, DCR, stream declaration, transformation and DCE when required.
  4. Establish identity and RBAC. Use a managed identity or dedicated Entra application; test token acquisition and DCR-scoped permission.
  5. Adapt batching and retry behaviour. Enforce the 1 MB request limit, bounded concurrency, backoff and durable buffering where telemetry loss is unacceptable.
  6. Run a canary or dual-write. Start with one interface or a percentage of telemetry rather than switching the estate at once.
  7. Reconcile meaning, not only volume. Compare event counts, timestamps, correlation IDs, severity, transformations and query results.
  8. Move consumers. Update alerts, workbooks, exports and operational runbooks. Prove that incidents still trigger the intended response.
  9. Cut over and observe. Maintain a defined hypercare window with old and new path metrics visible side by side.
  10. Remove the legacy trust path. Stop callers, delete obsolete HMAC code and revoke or rotate workspace keys that were distributed for the retired route.

If you already use correlation IDs across Azure and Boomi, keep the same identifier through the new ingestion envelope. That lets operations prove that a business transaction, its integration execution and its telemetry record still join correctly after migration.

Example: Logic Apps and Functions integration telemetry

Consider an order integration in which a Logic App orchestrates validation and a Function maps the order before publishing it to Service Bus. Both components currently call a shared telemetry Function. That Function buffers events and signs one large Data Collector API request with a workspace key.

In the target design, the telemetry Function receives the same internal event contract but uses its managed identity to call a dedicated DCR. The DCR transformation projects only approved fields into IntegrationTrace_CL. The Function builds sub-1 MB batches, maintains bounded parallel calls and places exhausted failures on a separate operational recovery channel.

The team deploys a side-by-side table for validation. For seven days, it compares totals per interface and hour, missing correlation IDs, error-severity distribution and end-to-end ingestion latency. Existing dashboards remain on the legacy table until those controls pass. Alerts then move first, dashboards second and the old writer last.

This design also creates a clearer separation of concerns. The business flow does not wait synchronously for Azure Monitor; the telemetry channel has its own availability and retry policy. The approach complements the dependency view described in Azure API Management dependency telemetry, while keeping custom business trace events under an explicit contract.

Enterprise Integration Patterns perspective

Operational telemetry is usually a Wire Tap: it observes message processing without becoming part of the business route. The migration should preserve that property. If a temporary Azure Monitor problem causes the order, invoice or customer update to fail, observability has become an unintended synchronous dependency.

The adapter that turns an internal event into the Logs Ingestion request is a Channel Adapter. Keep it reusable, but do not hide its delivery semantics. Teams must know whether it buffers, retries, drops, duplicates or dead-letters events.

The DCR functions as part of a Control Bus: it centralizes routing, transformation and governance for operational signals. A durable failure channel can act as a Dead Letter Channel for telemetry that exhausts retries. That queue needs retention, alerting and a replay procedure; otherwise it is only delayed data loss.

These patterns reinforce a central rule: the telemetry message is separate from the business message, but its correctness is still operationally important.

Risks that deserve explicit controls

  • Silent gaps: alert on sender failures and compare source-event counts with ingested records.
  • Duplicate telemetry: use stable event IDs and design queries to tolerate at-least-once delivery.
  • Schema drift: validate the producer envelope and deploy table, DCR and queries together.
  • Oversized requests: enforce a safe batch ceiling below 1 MB and test worst-case event sizes.
  • Throttle amplification: use jittered backoff and bounded concurrency rather than immediate retries.
  • Broken Private Link routing: validate DCE, DNS and network paths from every producer location.
  • Cost growth: transform and filter intentionally; monitor ingestion volume per interface.
  • Irreversible table migration: back up definitions, validate downstream dependencies and prefer side-by-side for high-risk estates.
  • Security regression: remove old shared keys and HMAC implementations after cutover.

Production checklist

  • All Data Collector API callers and indirect forwarding services have an owner.
  • Classic tables and recent RestAPI records have been inventoried.
  • The destination table, DCR, transformation and stream are source-controlled.
  • The direct DCR endpoint versus DCE decision matches the Private Link design.
  • Managed identity or a dedicated Entra application replaces workspace-key distribution.
  • RBAC is scoped to the required DCR and validated from the real runtime.
  • The payload builder respects the 1 MB call limit with sufficient headroom.
  • Retries, concurrency, buffering and dead-letter handling are bounded and monitored.
  • The telemetry envelope has stable correlation and event identifiers.
  • Personal data, credentials and unnecessary business payloads are excluded.
  • Counts, critical fields and ingestion latency have been reconciled during parallel running.
  • Alerts, workbooks, exports and KQL queries work against the new contract.
  • The cutover and rollback decision is documented before any in-place table migration.
  • Legacy code, configuration and shared-key access are removed after hypercare.

Frequently asked questions

Did the Azure Monitor Data Collector API stop working on 14 September 2026?

Not necessarily. Microsoft states that existing ingestion can continue when clients use TLS 1.2. The important change is support status: only critical security fixes remain. Treat successful calls as temporary compatibility, not as a reason to postpone migration.

Is the Logs Ingestion API only for new Log Analytics tables?

No. You can migrate an existing classic custom table in place or build a side-by-side destination. The in-place migration is not reversible, so use it only after validating the schema and downstream dependencies.

Do I always need a Data Collection Endpoint?

No. A newer DCR can provide its own logs-ingestion endpoint. A DCE is needed for DCRs without that endpoint and for Private Link scenarios. Check the endpoint type and network requirements of your actual DCR.

Can I keep the same 30 MB batching strategy?

No. The Logs Ingestion API has a 1 MB maximum per call for compressed or uncompressed payloads. Redesign batching, concurrency, buffering and retries, then load-test at peak telemetry volume.

Should telemetry failure block the business integration?

Usually not. Implement telemetry as an asynchronous Wire Tap where the business risk allows it. Buffer and monitor failures separately so observability remains reliable without turning Azure Monitor into a synchronous dependency of every transaction.

What should be migrated first?

Prioritize production flows whose alerts, compliance evidence or operational support depend on custom logs. Within that group, start with a well-understood canary that represents the real identity, network, schema and throughput constraints.

Final recommendation

The end of support for the Azure Monitor Data Collector API is a governance and reliability event, not just an endpoint deprecation. Move to the Logs Ingestion API through a controlled program: inventory callers, define a versioned schema, use identity and DCR-scoped RBAC, redesign for the 1 MB limit, validate in parallel and remove the old shared-key path after cutover.

Do not wait for a hard shutdown to make the risk visible. The best migration leaves the business flow independent, the telemetry path observable and every failure mode owned.

Official source: Migrate from the Log Analytics Data Collector API to the Logs Ingestion API. See also the Logs Ingestion API overview.

You May Also Like…

0 Comments