v1.1.1
New
Support for Agentic Identity
Added initial support for Microsoft Agent ID. See: What is Microsoft Entra Agent ID? - Microsoft Entra Agent ID | Microsoft Learn
Further setup documentation will be provided on use of this feature in the future as it moves forward.
Multiple Connections
It is now possible to configure your agent application with multiple parallel application identities. We call these "Connections." When used in conjunction with Agentic Identity, this allows for an agent application to act as any installed instance of the agent across multiple tenants, as well as bind specific routes to different agent configuration within the same app.
# in .env
# define a connection named `serviceConnection`
# the name used in the env variable names must match the name
# specified in the connectionsMap below
connections__serviceConnection__settings__clientId= # App ID of the App Registration used to log in.
connections__serviceConnection__settings__clientSecret= # Client secret of the App Registration used to log in
connections__serviceConnection__settings__tenantId= # Tenant ID of the App Registration used to log in
connectionsMap__0__connection=serviceConnection
connectionsMap__0__serviceUrl=*
If nothing is changed in your configuration, the SDK will automatically use the existing settings to create a default Connection for you. No changes are required.
In copilot studio client: sendActivityStreaming, startConversationStreaming
In addition to the sendActivityAsync and startConversationAsync methods, this version introduces new versions that support streaming messages returned as they arrive using AsyncGenerators. These methods will return a stream of Activities as they arrive over the wire and use a new syntax for dealing with AsyncGenerators.
for await (const replyActivity of copilotClient.sendActivityStreaming(activity)) {
... process each activity as it arrives, including typing indicators, events, etc
}
Breaking Changes
There were some unavoidable changes necessary in the SDK which will require updates to your code if you use any of the following methods:
CloudAdapter.ContinueConversation or AgentApplication.sendProactiveActivity
Both of these methods now require botAppIdOrIdentity to be passed as the first argument. This must either be the agents's app ID, or a JwtPayload object from the incoming request, usually TurnContext.identity
CloudAdapter getAttachment/getAttachmentInfo/uploadAttachment
These methods now require a TurnContext to be passed as the first argument.
CloudAdapter.ConnectorClient and CloudAdapter.UserTokenClient have been removed.
Rather than being members of the CloudAdapter class, these are now available as turncontext.turnstate.get(adapter.ConnectorClientKey) and turncontext.turnstate.get(adapter.UserTokenClientKey)
AgentApplication.authorization.beginOrContinueFlow has been removed
AgentApplication.authorization.authHandlers has been removed
oAuthFlow class removed
What's Changed
- Update version to 1.1.0-alpha by @rido-min in #528
- chore: update dependencies in package.json files by @rido-min in #531
- bump dependencies by @rido-min in #540
- [#369] Review custom usage of Temp TurnState by @ceciliaavila in #529
- refactor: expose StreamingResponse delay by @rido-min in #541
- [#524] Review processing order of FileDownloaders in AgentApplication by @ceciliaavila in #543
- chore: update dependencies in package.json and package-lock.json by @rido-min in #549
- fix: update npm install display name to npm ci and adjust branch filter for pull requests by @rido-min in #557
- Add citation URL to streaming response metadata by @rido-min in #558
- Restore teams-extensions by @rido-min in #548
- Update dependencies in package.json and package-lock.json by @rido-min in #569
- Stevenic/teams shared channels by @Stevenic in #438
- Remove Service Principal login instructions from README by @sarahcritchley in #597
- Bump dependencies by @sw-joelmut in #585
- File Attachment upload not working when using CopilotStudio Client as the connector for WebChat. by @sw-joelmut in #596
- Implement Event-Source Send in CopilotStudioClient to handle stream responses by @ceciliaavila in #614
- Bump typedoc from 0.28.12 to 0.28.13 by @dependabot[bot] in #588
- Bump debug from 4.4.1 to 4.4.3 by @dependabot[bot] in #599
- Bump esbuild from 0.25.9 to 0.25.10 by @dependabot[bot] in #600
- Bump @types/node from 24.3.1 to 24.6.0 by @dependabot[bot] in #615
- Bump typescript from 5.9.2 to 5.9.3 by @dependabot[bot] in #619
- Bump globalize from 1.7.0 to 1.7.1 by @dependabot[bot] in #620
- Bump @microsoft/microsoft-graph-types from 2.40.0 to 2.43.0 by @dependabot[bot] in #618
- Bump nerdbank-gitversioning from 3.7.115 to 3.8.118 by @dependabot[bot] in #617
- Bump @azure/msal-node from 3.7.3 to 3.8.0 by @dependabot[bot] in #616
- Bump eslint from 9.35.0 to 9.37.0 by @dependabot[bot] in #633
- Bump @microsoft/m365agentsplayground from 0.2.18 to 0.2.19 by @dependabot[bot] in #621
- Bump tsx from 4.20.5 to 4.20.6 by @dependabot[bot] in #624
- Bump @microsoft/api-extractor from 7.52.13 to 7.53.0 by @dependabot[bot] in #634
- Bump @types/node from 24.6.0 to 24.7.0 by @dependabot[bot] in #635
- Bump @microsoft/microsoft-graph-types from 2.43.0 to 2.43.1 by @dependabot[bot] in #636
- Bump @types/express-serve-static-core from 5.0.7 to 5.1.0 by @dependabot[bot] in #637
- Bump @microsoft/api-extractor from 7.53.0 to 7.53.1 by @dependabot[bot] in #639
- [#384] Reorganize exports by named exports - agents-hosting-extensions-teams by @ceciliaavila in #578
- [#384] Reorganize exports by named exports - agents-hosting-storage by @ceciliaavila in #559
- Bump @azure/cosmos from 4.5.1 to 4.6.0 by @dependabot[bot] in #645
- Bump @types/node from 24.7.0 to 24.7.1 by @dependabot[bot] in #644
- Bump typedoc from 0.28.13 to 0.28.14 by @dependabot[bot] in #652
- Bump @types/node from 24.7.1 to 24.7.2 by @dependabot[bot] in #651
- Bump esbuild from 0.25.10 to 0.25.11 by @dependabot[bot] in #672
- Add support for Agentic identity tokens by @benbrown in #641
- Workload Identity support by @rido-min in #352
- Add Agentic auth handler by @sw-joelmut in #690
- Bump @types/node from 24.7.2 to 24.8.0 by @dependabot[bot] in #681
- [#682] Create Agentic sample by @ceciliaavila in #691
- [#680] Resolve appId in agentResponseHandler by @ceciliaavila in #698
- Add support for subChannels being stored in entities by @benbrown in #697
- AAU token for ConnectorClient should use Scope from config by @tracyboehrer in #696
- Back-compat CloudAdapter.createTurnContext by @tracyboehrer in #692
- Bump eslint from 9.37.0 to 9.38.0 by @dependabot[bot] in #693
- Bump @azure/storage-blob from 12.28.0 to 12.29.1 by @dependabot[bot] in #695
- Remove topic field - for now at least by @benbrown in #700
- Fix #686 - Clarify decision logic around agentic route selection by @benbrown in #701
- Fix exchange token and add consent required after failing multiple times by @sw-joelmut in #702
- Refactor createConversation to use normalized activity parameters by @ceciliaavila in #704
- Bump @types/node from 24.8.0 to 24.9.0 by @dependabot[bot] in #699
- Bump @microsoft/api-extractor from 7.53.1 to 7.53.2 by @dependabot[bot] in #705
- Conditionally truncate conversation Id based on environment variable by @benbrown in #707
- Add CODEOWNERS file for agents-sdk by @cleemullins in #709
- Bump @azure/cosmos from 4.6.0 to 4.7.0 by @dependabot[bot] in #710
- Bump @microsoft/api-extractor from 7.53.2 to 7.53.3 by @dependabot[bot] in #714
- Bump @types/express from 5.0.3 to 5.0.4 by @dependabot[bot] in #715
- Fix: remove delay feature which is not in spec by @benbrown in #718
- Fix: Apply normalizeOutgoingActivity only to the activity related APIs by @benbrown in #717
- Bump axios from 1.12.2 to 1.13.0 by @dependabot[bot] in #719
- New: Allow UserTokenClient's API endpoint to be overridden using TOKEN_API_ENDPOINT env var by @benbrown in #720
- Bump @types/express from 5.0.4 to 5.0.5 by @dependabot[bot] in #721
- Bump axios from 1.13.0 to 1.13.1 by @dependabot[bot] in #722
- Bump @types/node from 24.9.1 to 24.9.2 by @dependabot[bot] in #723
- fix: order of arguments when calling ConnectorClient.getConversationMember in TeamsInfo.getMemberInternal by @ceciliaavila in #724
- Changed AgentApplication.adapter type to resolve access to CloudAdapter.connectionManager by @tracyboehrer in #731
- Connections.getTokenProvider now accepts a JwtPayload by @tracyboehrer in #729
- Bump @azure/msal-node from 3.8.0 to 3.8.1 by @dependabot[bot] in #730
- [#727] Include default values for authority and issuers when multiple connections are configured by @ceciliaavila in #732
- CloudAdapter using getTokenProviderFromActivity by @tracyboehrer in #734
- Cleanup in continueConversation by @tracyboehrer in #735
- Expose Authorization interface by @benbrown in #736
- ContinueConversation fix to skip UserTokenClient creation for agentic by @tracyboehrer in #737
- Bump eslint from 9.38.0 to 9.39.0 by @dependabot[bot] in #743
- Allow anonymous auth when creating userTokenClient by @ceciliaavila in #747
- Bump esbuild from 0.25.11 to 0.25.12 by @dependabot[bot] in #744
- Bump @microsoft/m365agentsplayground from 0.2.19 to 0.2.20 by @dependabot[bot] in #745
- Bump @types/node from 24.9.2 to 24.10.0 by @dependabot[bot] in #746
- Bump eslint from 9.39.0 to 9.39.1 by @dependabot[bot] in #748
- Bump @microsoft/api-extractor from 7.53.3 to 7.54.0 by @dependabot[bot] in #749
- Bump axios from 1.13.1 to 1.13.2 by @dependabot[bot] in #750
- Bump nerdbank-gitversioning from 3.8.118 to 3.9.50 by @dependabot[bot] in #751
- [#638] Option to disable SSO in OAuth config by @ceciliaavila in #742
- Implement FileTranscriptLogger class by @sw-joelmut in #752
- [#384] Reorganize exports by named exports - agents-hosting-extensions-teams by @ceciliaavila in #572
- [#384] Reorganize exports by named exports - agents-activity by @ceciliaavila in #568
- Fix: Do not stringify the json before sending it to the webserver. by @benbrown in #763
- Bump esbuild from 0.25.12 to 0.27.0 by @dependabot[bot] in #758
- Bump @types/node from 24.10.0 to 24.10.1 by @dependabot[bot] in #766
- Bump @types/sinon from 17.0.4 to 20.0.0 by @dependabot[bot] in #767
- Bump @azure/msal-node from 3.8.1 to 3.8.2 by @dependabot[bot] in #768
- Bump @microsoft/api-extractor from 7.54.0 to 7.55.0 by @dependabot[bot] in #769
- Bump min-document from 2.19.0 to 2.19.2 by @dependabot[bot] in #774
- Bump js-yaml from 4.1.0 to 4.1.1 by @dependabot[bot] in #775
- Bump @types/sinon from 20.0.0 to 21.0.0 by @dependabot[bot] in #778
- Bump open from 10.2.0 to 11.0.0 by @dependabot[bot] in #779
- Support multi-tenant agentic by @benbrown in #765
- Bumped v1.1 version.json by @tracyboehrer in #810
- Cherrypick backcompat for Copilot Studio Client into 1.1 release by @benbrown in #812
New Contributors
- @sarahcritchley made their first contribution in #597
Full Changelog: v1.0.13...v1.1.1