Skip to content

.Net Bug: Null reference exception, AI Foundry Agent Service using Bing knowledge #12351

Closed

Description

Describe the bug
I have SK code calling AI Foundry Agent.
The code fails with an Exception when I have Bing defined for Knowledge

To Reproduce
The code works if the Agent has no Knowledge defined
The code fails if the Agent has Bing defined for Knowledge

Expected behavior
No Exception failure

Screenshots

Image

Image

Platform
C#

<PackageReference Include="Azure.AI.Agents.Persistent" Version="1.1.0-beta.1" />
<PackageReference Include="Azure.AI.Projects" Version="1.0.0-beta.9" />
<PackageReference Include="Azure.Identity" Version="1.14.0" />
<PackageReference Include="DotNetEnv" Version="3.1.1" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="10.0.0-preview.4.25258.110" />
<PackageReference Include="Microsoft.SemanticKernel" Version="1.54.0" />
<PackageReference Include="Microsoft.SemanticKernel.Agents.AzureAI" Version="1.54.0-preview" />
<PackageReference Include="Microsoft.SemanticKernel.Agents.Core" Version="1.54.0" />
<PackageReference Include="Microsoft.SemanticKernel.Process.Abstractions" Version="1.54.0-alpha" />
<PackageReference Include="Microsoft.SemanticKernel.Process.Core" Version="1.54.0-alpha" />
<PackageReference Include="Microsoft.SemanticKernel.Process.LocalRuntime" Version="1.54.0-alpha" />
<PackageReference Include="Polly" Version="8.5.2" />

Activity

  1. changed the title [-].NET Bug: Null reference exception, AI Foundry Agent Service using Bing knowledge[/-] [+].Net Bug: Null reference exception, AI Foundry Agent Service using Bing knowledge[/+] on Jun 3, 2025
  2. moved this to Sprint: In Review in Semantic Kernelon Jun 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

.NETIssue or Pull requests regarding .NET codebugSomething isn't working

Type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions