Skip to main content
.NETStandard2.0

Observability hosting components for Microsoft Agent 365 SDK

Published
Oct 1, 2026
18d ago
Total Downloads
14.4K
14,449

Install

dotnet add package Microsoft.Agents.A365.Observability.Hosting --version 2.0.1-preview
ProductVersions
.NET Standard
netstandard2.0

README

Microsoft.Agents.A365.Observability.Hosting

The Hosting package provides ETW (Event Tracing for Windows) integration for the Microsoft Agent 365 Observability SDK. This package enables high-performance event tracing on Windows platforms for production monitoring scenarios.

OBS Token Caching

OBS export is S2S-only. Hosting helpers must provide app-only tokens for the exporting agent identity; delegated TurnContext/UserAuthorization exchange is no longer used for OBS. AgenticTokenCache.RegisterObservability(..., AgenticTokenStruct, ...) and AgenticTokenStruct construction are obsolete compile-time errors. Register or refresh an ObservabilityTokenResolver instead, then wire Agent365ExporterOptions.TokenResolver to GetObservabilityToken.

The resolver is responsible for acquiring and validating the final OBS token. It must reject delegated scp tokens, accept app-only tokens (idtyp=app, or no idtyp with non-empty roles or oid == sub), verify the OBS audience, and ensure the token is not expired. Workload MCP/Graph/OBO authentication remains separate and unchanged.

Installation

dotnet add package Microsoft.Agents.A365.Observability.Hosting

Documentation

For detailed usage information, configuration examples, and best practices, see the Microsoft Agents 365 Observability documentation.

Support

For issues, questions, or feedback:

Trademarks

Microsoft, Windows, Microsoft Azure and/or other Microsoft products and services referenced in the documentation may be either trademarks or registered trademarks of Microsoft in the United States and/or other countries. The licenses for this project do not grant you rights to use any Microsoft names, logos, or trademarks. Microsoft's general trademark guidelines can be found at http://go.microsoft.com/fwlink/?LinkID=254653.

License

Copyright (c) Microsoft Corporation. All rights reserved.

Licensed under the MIT License - see the LICENSE file for details.

Changes from Previous Version

v1.1.14-previewv2.0.1-preview
Added Dependencies
Microsoft.Bcl.Memory(.NETStandard2.0)

Adoption Assessment

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

This version is marked prerelease. Validate its API and upgrade path before production use.No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.Compatibility metadata lists 1 target framework; confirm the exact target used by your application.The published metadata declares 24 direct dependency entries across framework groups. Inspect the resolved dependency graph for your target framework.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.