Skip to content

ot working for Foundry Agent with Knowledge Setup #229

@avashneu

Description

@avashneu

Language/Version
What package version of the SDK are you using.

  • Language: C#
  • Package version:
  • SDK Use: Agents Hosting / Clients / Tools

If you're using the Agent Hosting system, please complete the following information:

  • How are you Hosting this:
  • Are you deploying:
  • Are you using Azure Bot Services: Yes
  • What Client are you using: MSTeams
  • What dotnet\node\python version is your build in:

Describe the bug
A clear and concise description of what the bug is.

  • Please include any stack trace information you can share.
    I am trying to use this SDK to connect to Azure AI foundry agent. The Azure AI Foundry has Fabric Data Agent knowledge setup. If I remove the knowledge from Foundry Agent, it works fine.

When I test, I get the following error. Does this SDK support this parameter and where should it be defined?
**
Error sending message to Azure agent: Missing required parameter: 'tools[0].fabric_dataagent'.
Status: 400 (Bad Request)
ErrorCode: missing_required_parameter

Content:
{
"error": {
"message": "Missing required parameter: 'tools[0].fabric_dataagent'.",
"type": "invalid_request_error",
"param": "tools[0].fabric_dataagent",
"code": "missing_required_parameter"
}
}
**

To Reproduce
How can we reproduce this error?

Please provide Code Snippets, Channel type, and any special configuration we will need to reproduce this problem.

Note: If your issue is with the Copilot Studio Client and its interaction with a feature of Copilot Studio, we would ask that you prepare and make available a simplified power platform solution with a Copilot Studio agent that causes the problem.
If you're not comfortable with this and we require that to explore your issue report, we will ask you to create a Support Ticket with Microsoft so that we can proceed.

Expected behavior
SDK to interact with Azure AI Foundry agent irrespective of the agent knowledge setup.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions