Repository navigation
v1.10.0
Pre-releaseMicrosoft 365 Agents SDK for Python - Release Notes v1.10.0
Release Date: 2026-11-19
Previous Version: 1.9.0 (Released 2026-10-19)
Breaking Changes
- Python Support: Python 3.10 is no longer supported. Upgrade to Python 3.11 or later before updating the SDK (#640).
Configuration
Added microsoft_agents.activity.config.Configuration for typed reads, nested sections, wildcard collection, and settings binding from ordinary dictionaries (#636, #649, #653).
Previously, each component parsed its own settings from raw dictionaries or AgentAuthConfiguration, with inconsistent key matching and type conversion. Configuration gives every component one consistent way to read settings, closer to .NET's IConfiguration.
from microsoft_agents.activity.config import Configuration, ignore_case, wildcard
config = Configuration({
"services": {"graph": {"timeout": "30"}, "search": {"timeout": "10"}},
"enabled": "false",
"scopes": "User.Read, Mail.Read",
})
graph = config.get_section(["services", "graph"]) # Scoped settings and error paths.
graph.get_int("timeout") # 30; stored value stays "30".
config.get_bool("enabled") # False, unlike bool("false").
config.get_bool(ignore_case("ENABLED")) # False; matches "enabled" regardless of case.
config.get_int("retries", default=3) # 3 for a missing setting.
config.get_scopes("scopes") # ["User.Read", "Mail.Read"].
config.collect(["services", wildcard(), "timeout"]) # ["30", "10"], in order.
config.collect(ignore_case("SERVICES", wildcard(), "Timeout")) # ["30", "10"]; mixed rules.Direct key lookup is case-sensitive; use lists of segments for nested paths, ignore_case() for case-insensitive matching, and wildcard() (not the literal "*") to collect dictionary entries. Invalid nonempty typed values raise even when a default is supplied.
ignore_case() and wildcard() build an internal _Path whose segments carry their own matching rules, whereas string and list keys always match exactly; create paths through these helpers rather than constructing _Path directly.
Use load_configuration_from_env(os.environ) to expand environment-style names and prepare application-root configuration. Reuse that object with MsalConnectionManager(config=config) and Authorization(storage, connections, config=config), or bind individual settings through their from_config() methods.
Major Features & Enhancements
- Application Options Configuration: Added
ApplicationOptions.from_config()to bind scoped settings or the application-rootAgentApplicationsection. Pass the resulting options toAgentApplication(options=...)to use nested settings; constructor keyword arguments continue to read only top-level options for backward compatibility (#656). - Teams API Dependency: Updated
microsoft-agents-hosting-msteamsto usemicrosoft-teams-api2.2.0, including HTTPX2 transport, nullable meeting join URLs, and typed chat, reply-chain, and source channel data (#657). - JWT Authorization Configuration: Added
ConnectionSettingsBase,JwtConnectionSettings, andTokenValidationConfigto bind inbound JWT policies from application configuration, including explicit audiences, tenant and anonymous-access overrides, and per-connection issuer settings. Retained legacyAgentAuthConfigurationsupport and added application-scoped validator caching without changingConnectionsorConnectionManager(#638). - Explicit JWT Audience Lists: Scalar and delimited audience strings now bind as explicit allow-lists instead of falling back to all configured connection client IDs. Missing or empty audiences continue to use connection defaults (#638).
- Connection Configuration: Added
Configuration-based initialization toConnectionManagerandMsalConnectionManager, with typed audience/service-URL routing maps supporting lists and named mappings. Consolidated shared connection APIs underauthorization.connectionswhile retaining legacy package-level imports and constructor inputs (#642). - Typed Authentication Provider Settings: Added
MsalConnectionSettingsand migratedSidecarConnectionSettingsto derive fromConnectionSettingsBase. MSAL and Entra sidecar providers now accept bound settings orConfigurationand expose typed settings through.config, while retaining legacyAgentAuthConfigurationinputs and existing environment-variable names (#642). - Typed User Authorization Configuration: Added
AuthorizationConfigandAuthHandlerConfigfor application sign-in options and individual OAuth handlers.Authorizationaccepts configuration throughconfig=and supports explicit handler lists or dictionaries (#644, #649). - Shared Configuration API: Added a dictionary-backed
ConfigurationAPI with nested path and alias lookup, typed getters, wildcard collection, configurable settings binding, and mapping/default resolution with indexed-list normalization. Retained the existingload_configuration_from_env()return contract (#636, #649, #653).
Deprecation
- Legacy Configuration Entry Points: Prefer explicit
config=arguments over unpacked configuration keyword arguments in connection managers andAuthorization. Prefer typed provider.configsettings over legacy.configurationaccess, andAuthHandlerConfigover the deprecatedAuthHandlerconstructor. Legacy entry points remain available with deprecation warnings (#642, #644, #649).
Bug Fixes
- Channel Service Client Cleanup: Fixed unclosed connector and user-token clients when conversation creation fails or is cancelled, or when client initialization fails during proactive or incoming activity processing (#651).