En specifik funktion eller förbättring som tillhandahålls av Windows Copilot
Microsoft Foundry Agent Routines: Response completes without final output, and results cannot be viewed in the UI
Hello,
I'm building an AI-powered trading analysis application using Microsoft Foundry Agent Service, and I'm experiencing two issues with Agent Routines that I haven't been able to resolve.
I'm hoping someone familiar with the Microsoft Copilot harness (preview) and Agent Routines can clarify whether this is expected behavior, a preview limitation, or a potential bug.
Environment
- Service: Microsoft Foundry Agent Service
Agent type: Prompt Agent
Agent harness: Microsoft Copilot harness (preview)
Model: gpt-6.1-sol
Routine action type: invoke_agent_responses_api
Authentication: Microsoft Entra creator identity
Web Search: Enabled as a separately configured agent tool
Routine: Scheduled fundamental market intelligence analysis
Issue 1: Agent completes without producing the requested final report
I have a Fundamental Analyst agent that performs web research and generates market intelligence reports.
The Routine instructs the agent to research recent economic developments, upcoming events, monetary policy, geopolitical risks, and market conditions, then produce a structured report.
When executed through an Agent Routine:
The Routine execution is marked Completed.
The agent performs multiple Web Search operations.
The agent produces preliminary messages explaining what it is investigating.
The expected final analytical report is never produced.
I retrieved the underlying response using Microsoft Entra authentication and the agent-specific Responses API.
The returned response contains:
{
"status": "completed",
"error": null,
"incomplete_details": null
}
However, the output array contains only research tool calls and intermediate assistant messages, without the requested final report.
One example execution:
Agent version: 9
Duration: Approximately 146 seconds
Web searches: 7
Total tokens: 51,452
Final analytical report: Missing
The last assistant message was:
The search results mix stale calendar entries with reported releases and conflicting market snapshots. I'm checking dated releases and event times before using those figures to set the outlook.
The response then ended without a final report.
I have reproduced this across multiple agent versions and tool configurations, including a test where all built-in Copilot harness tools (File system read/write, Web, Shell and Subagents) were disabled, while the separately configured Web Search remained available.
Important: The same prompt works in Agent Playground
I copied the Routine's prompt and submitted it directly as a user message in the agent's Playground.
The agent successfully completed the entire task and produced the full analytical report.
This included an executive summary, economic developments, upcoming events, separate instrument analyses, volatility risks, and sources.
Therefore, the agent appears capable of performing the task interactively, but the Routine execution does not reliably produce the same final deliverable.
Issue 2: Routine output cannot be inspected in the Foundry UI
Separately, I cannot find a way to view the actual agent-generated output from a Routine execution in the Microsoft Foundry interface.
The Routine execution details show:
Execution status
Response ID (caresp_...)
Conversation ID (conv_...)
However:
I cannot click or open these IDs to view the generated response.
I cannot find the final assistant output in the Routine execution details.
The Observability/Traces view shows an invoke_agent operation.
The trace view has displayed "No conversation turns found".
Even when I tested a much simpler Routine prompt that successfully generated a final report, I still could not view that report directly in Foundry.
I had to write a C# application to retrieve the response using the agent-specific endpoint:
GET /api/projects/{project}/agents/{agent}/endpoint/protocols/openai/responses/{response_id}?api-version=v1
This successfully returned the generated report as JSON.
I would expect to be able to inspect the results of scheduled agent executions through Foundry without having to build a custom application just to read them.
Questions
Regarding agent execution:
Is there a known issue or limitation with Microsoft Copilot harness (preview) when agents are invoked through Routines?
Why would an underlying agent response have status: completed with no error, yet contain no final assistant report?
Are there execution time limits, tool-call limits, or background execution behaviors that could explain this?
Why would the same prompt succeed in Playground but fail to deliver the final report through a Routine?
Regarding the Foundry interface:
Is there a supported way to inspect a Routine's complete agent output directly in the Foundry UI?
Should Response IDs or Conversation IDs in the Routine execution details be clickable or otherwise accessible?
Is "No conversation turns found" expected for Routine-initiated agent executions?
Is retrieving responses programmatically through the agent-specific Responses API currently the intended approach?
Expected behavior
My objective is straightforward:
Schedule an autonomous agent, allow it to research and complete its task, and then inspect the final generated report and execution details.
I would appreciate guidance on the recommended architecture or configuration for achieving this reliably with Microsoft Foundry Agent Routines.
I can provide sanitized response JSON files, screenshots, agent instructions, and the Routine prompt if needed.
Thank you for your help.Hello,
I'm building an AI-powered trading analysis application using Microsoft Foundry Agent Service, and I'm experiencing two issues with Agent Routines that I haven't been able to resolve.
I'm hoping someone familiar with the Microsoft Copilot harness (preview) and Agent Routines can clarify whether this is expected behavior, a preview limitation, or a potential bug.
Environment
Service: Microsoft Foundry Agent Service
Agent type: Prompt Agent
Agent harness: Microsoft Copilot harness (preview)
Model: gpt-6.1-sol
Routine action type: invoke_agent_responses_api
Authentication: Microsoft Entra creator identity
Web Search: Enabled as a separately configured agent tool
Routine: Scheduled fundamental market intelligence analysis
Issue 1: Agent completes without producing the requested final report
I have a Fundamental Analyst agent that performs web research and generates market intelligence reports.
The Routine instructs the agent to research recent economic developments, upcoming events, monetary policy, geopolitical risks, and market conditions, then produce a structured report.
When executed through an Agent Routine:
The Routine execution is marked Completed.
The agent performs multiple Web Search operations.
The agent produces preliminary messages explaining what it is investigating.
The expected final analytical report is never produced.
I retrieved the underlying response using Microsoft Entra authentication and the agent-specific Responses API.
The returned response contains:
{
"status": "completed",
"error": null,
"incomplete_details": null
}
However, the output array contains only research tool calls and intermediate assistant messages, without the requested final report.
One example execution:
Agent version: 9
Duration: Approximately 146 seconds
Web searches: 7
Total tokens: 51,452
Final analytical report: Missing
The last assistant message was:
The search results mix stale calendar entries with reported releases and conflicting market snapshots. I'm checking dated releases and event times before using those figures to set the outlook.
The response then ended without a final report.
I have reproduced this across multiple agent versions and tool configurations, including a test where all built-in Copilot harness tools (File system read/write, Web, Shell and Subagents) were disabled, while the separately configured Web Search remained available.
Important: The same prompt works in Agent Playground
I copied the Routine's prompt and submitted it directly as a user message in the agent's Playground.
The agent successfully completed the entire task and produced the full analytical report.
This included an executive summary, economic developments, upcoming events, separate instrument analyses, volatility risks, and sources.
Therefore, the agent appears capable of performing the task interactively, but the Routine execution does not reliably produce the same final deliverable.
Issue 2: Routine output cannot be inspected in the Foundry UI
Separately, I cannot find a way to view the actual agent-generated output from a Routine execution in the Microsoft Foundry interface.
The Routine execution details show:
Execution status
Response ID (caresp_...)
Conversation ID (conv_...)
However:
I cannot click or open these IDs to view the generated response.
I cannot find the final assistant output in the Routine execution details.
The Observability/Traces view shows an invoke_agent operation.
The trace view has displayed "No conversation turns found".
Even when I tested a much simpler Routine prompt that successfully generated a final report, I still could not view that report directly in Foundry.
I had to write a C# application to retrieve the response using the agent-specific endpoint:
GET /api/projects/{project}/agents/{agent}/endpoint/protocols/openai/responses/{response_id}?api-version=v1
This successfully returned the generated report as JSON.
I would expect to be able to inspect the results of scheduled agent executions through Foundry without having to build a custom application just to read them.
Questions
Regarding agent execution:
Is there a known issue or limitation with Microsoft Copilot harness (preview) when agents are invoked through Routines?
Why would an underlying agent response have status: completed with no error, yet contain no final assistant report?
Are there execution time limits, tool-call limits, or background execution behaviors that could explain this?
Why would the same prompt succeed in Playground but fail to deliver the final report through a Routine?
Regarding the Foundry interface:
Is there a supported way to inspect a Routine's complete agent output directly in the Foundry UI?
Should Response IDs or Conversation IDs in the Routine execution details be clickable or otherwise accessible?
Is "No conversation turns found" expected for Routine-initiated agent executions?
Is retrieving responses programmatically through the agent-specific Responses API currently the intended approach?
Expected behavior
My objective is straightforward:
Schedule an autonomous agent, allow it to research and complete its task, and then inspect the final generated report and execution details.
I would appreciate guidance on the recommended architecture or configuration for achieving this reliably with Microsoft Foundry Agent Routines.
I can provide sanitized response JSON files, screenshots, agent instructions, and the Routine prompt if needed.
Thank you for your help.