Description:
When using the prompts Please help me diagnose issues with my app using app lens, Use app lens to check why my app is slow?, or What does app lens say is wrong with my service?, the tool fails to complete the diagnosis and instead returns an internal error. The specific error message is as follows:


Steps to Reproduce:
- Start mcp server in namespaces mode.
- Open GitHub Copilot in VS Code and switch to Agent mode.
- Click Refresh on the tools list, and select the
Built-in, Extension: Github Copilot for Azure, MCP Server: Microsoft Docs and MCP Server: Azure MCP.
- Enter test prompts
Please help me diagnose issues with my app using app lens
Environment:
- OS: Windows.
- Vscode Version: 1.104.2
- GitHub Copilot Chat Version: 0.31.3
- Large Language Model: GPT-4.1
- Virtual Tool: Off
- Azure MCP Server: 0.8.2
Expected Behavior:
The tool should successfully complete the diagnostic process and return the expected diagnostic results.
@joshfree for notification
Description:


When using the prompts
Please help me diagnose issues with my app using app lens,Use app lens to check why my app is slow?, orWhat does app lens say is wrong with my service?, the tool fails to complete the diagnosis and instead returns an internal error. The specific error message is as follows:Steps to Reproduce:
Built-in,Extension: Github Copilot for Azure,MCP Server: Microsoft DocsandMCP Server: Azure MCP.Please help me diagnose issues with my app using app lensEnvironment:
Expected Behavior:
The tool should successfully complete the diagnostic process and return the expected diagnostic results.
@joshfree for notification