Share via

Microsoft Foundry Agents deployment issues

S K, Raghav 60 Reputation points
2026-01-06T08:47:41.65+00:00

Error Message:

Response failed with code downstream_error: Unhandled workflow failure - #agent4 (InvokeAzureAgent) -> {"error":"Error invoking agent","agent":{"type":"agent_reference","name":"CapabilityAgent","version":"4"},"conversation_id":"","details":{"error":{"message":"No tool output found for remote function call ","type":"invalid_request_error","param":"input","code":null}}}.Screenshot 2026-01-06 141002 Workflow Setup (Tools & Configuration Only)

  • I have a multi-agent workflow built in Microsoft Foundry and published to Microsoft Teams / Copilot using InvokeAzureAgent. The workflow consists of four sequential agents:
    1. Agent 1
      • Initially used: web_search_preview tool
      • Now: No tools configured
      • Output type: text (Markdown)
    2. Agent 2
      • No tools configured
      • Output type: text
    3. Agent 3
      • Sharepoint tools configured
      • Output type: text
    4. Agent 4 (final agent)
      • No tools configured
      • Output type: text
      • This is the only agent that sends output back to Teams
    All agents are configured with:
    • model: gpt-4.1
    • Text-only output
    • No structured/JSON output
    • No function calling enabled

    Issue Observed

    When running the published workflow from Teams / Copilot, execution fails with the following error:
      downstream_error: Unhandled workflow failure
    
    The error consistently appears at the Agent 4 invocation, even though:
    • Agent 4 has no tools
    • Agent 4 is text-only
    • No agents currently have any tools configured

    Key Observations

    • The same workflow runs successfully in Foundry Preview
    • The failure occurs only in Teams / Copilot
    • The error references a remote function call, even after all tools have been removed
    • This suggests a non-text message type (PortableValue / function-call frame) is still present in the message stream
Foundry Tools
Foundry Tools

Formerly known as Azure AI Services or Azure Cognitive Services is a unified collection of prebuilt AI capabilities within the Microsoft Foundry platform


1 answer

Sort by: Most helpful
  1. Marcin Pazdro 0 Reputation points
    2026-02-09T13:54:14.9933333+00:00

    sorry, wrongly paste

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.