Skip to content

Collector 2.12.1

Latest

Choose a tag to compare

@xBirahim xBirahim released this 17 Nov 15:08
a14309f

2.12.1 (2026-11-17)

Stable release of the Microsoft Teams Observability collector (ms-teams-agent).
This release supersedes 2.12.0 and 2.11.1, which remain available below but
should no longer be deployed.

Features

  • Credentials can be externalized from the configuration file. Any secret in
    the YAML can be written as a reference instead of a literal value:

    • ${env:VARIABLE_NAME} reads the value from the process environment
      (compatible with systemd EnvironmentFile=).
    • ${file:/path/to/secret} reads it from a file.

    References are resolved in memory at startup and are never written back to
    the configuration file or to migration backups. Installation and structure
    checks can run with validate --skip-secrets; run and test-connection
    always require every referenced secret to be present and fail closed otherwise.

Security

  • The license verification key is now pinned to the key packaged with the
    binary.
    The previous fallback chain could be redirected to an attacker-supplied
    public key through an environment variable or a file placed next to the
    executable, which allowed self-signed licenses to be accepted. Only the embedded
    official public key is trusted now, and a missing key fails closed with an
    explicit error.
    • Action required: the undocumented MS_TEAMS_PUBLIC_KEY_PATH environment
      variable is retired. Remove it from any service drop-in or wrapper script.
      Only license.filepath remains configurable.
  • OpenTelemetry export no longer loses records silently. Records are emitted
    in bounded windows with a flush between windows, and every submitted record is
    accounted for as either delivered or failed. A partial, timed-out or unfinished
    flush can no longer be reported as success, and it no longer allows collection
    state (deduplication marks and checkpoints) to be committed for records that
    were never delivered.
    • The existing OTEL_BLRP_MAX_QUEUE_SIZE / OTEL_BLRP_MAX_EXPORT_BATCH_SIZE
      environment variables keep their previous semantics.
  • Transitive runtime dependencies were upgraded to patched releases in 2.12.0
    (including cryptography, aiohttp, certifi, OpenTelemetry 1.45.2 and
    microsoft-kiota 1.15.0). A dependency audit of the runtime set reports no
    known vulnerabilities at release time.

Bug Fixes

  • --dry-run no longer persists anything. The simulation now reads the
    existing state database through a consistent in-memory snapshot and never
    creates, rewrites or vacuums it; a missing database is not created, and an
    unreadable or inaccessible one aborts the run instead of silently starting from
    empty state. Configuration migrations are applied in memory only (no .bak),
    and nothing is sent to exporters, collection-health or telemetry.
    • Operational logs under logs/ are still written, and read-only Microsoft
      Graph calls are still performed so that selection behaves like a real run.

Packages

Platform File Size
Linux (x86-64) ms-teams-agent.bin 54,971,264 bytes
Windows (x86-64) ms-teams-agent.exe 29,770,714 bytes

SHA-256 checksums:

036bd769bf20dec12e2623ec5d5a07f9a22758cea80409d4101fd90837fea884  ms-teams-agent.bin
864bdb3faaed56c1c570ef8a71099fe4349c1bc0e4cfacaed7266ec6c500c437  ms-teams-agent.exe

Both packages are built from the same source tree. The Linux package was
validated end-to-end (packaged binary checks including a hardened systemd run, a
real collection cycle against Microsoft Graph, and a rollback); the Windows
package is built and published from the same commit and will be validated on
request.

Installation and upgrade instructions: Collector installation guide