Skip to content

fix: Downgrade Microsoft.Teams.AI.Models.OpenAI to 2.0.8 across TeamsSDK bot samples to resolve build failures#2365

Open
Harikrishnan-MSFT wants to merge 1 commit into
mainfrom
v-hrajandira/UpdatePackage
Open

fix: Downgrade Microsoft.Teams.AI.Models.OpenAI to 2.0.8 across TeamsSDK bot samples to resolve build failures#2365
Harikrishnan-MSFT wants to merge 1 commit into
mainfrom
v-hrajandira/UpdatePackage

Conversation

@Harikrishnan-MSFT

@Harikrishnan-MSFT Harikrishnan-MSFT commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

PR Description:

Summary

Fixes 7 CI build failures in TeamsSDK bot samples caused by a missing NuGet package version.

Problem

The following 7 C# samples referenced Microsoft.Teams.AI.Models.OpenAI with a minimum version of 2.0.9, which does not exist on NuGet.org (nearest available: 2.0.8), causing all builds to fail with exit code 1:

  • bot-ai-messages
  • bot-attachments
  • bot-auth-quickstart
  • bot-cards
  • bot-meetings
  • bot-quickstart
  • bot-task-modules

Error:

error NU1102: Unable to find package Microsoft.Teams.AI.Models.OpenAI with version (>= 2.0.9)
  - Found 22 version(s) in nuget.org [ Nearest version: 2.0.8 ]

Fix

Updated Microsoft.Teams.AI.Models.OpenAI package reference from 2.0.92.0.8 in all 7 affected .csproj files under samples/TeamsSDK/.

Files Changed

  • samples/TeamsSDK/bot-ai-messages/dotnet/.../...csproj
  • samples/TeamsSDK/bot-attachments/dotnet/.../...csproj
  • samples/TeamsSDK/bot-auth-quickstart/dotnet/.../BotAuthQuickstart.csproj
  • samples/TeamsSDK/bot-cards/dotnet/.../...csproj
  • samples/TeamsSDK/bot-meetings/dotnet/.../...csproj
  • samples/TeamsSDK/bot-quickstart/dotnet/.../...csproj
  • samples/TeamsSDK/bot-task-modules/dotnet/.../...csproj

Related CI Run

Build - All Samples #2099 — Actions run #27127125795

@Harikrishnan-MSFT Harikrishnan-MSFT changed the title Update Package fix: Downgrade Microsoft.Teams.AI.Models.OpenAI to 2.0.8 across TeamsSDK bot samples to resolve build failures Jun 8, 2026
@Harikrishnan-MSFT

Copy link
Copy Markdown
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants