From 67e58dadbbea1e96a5db050fc47cfc560ba0ef6f Mon Sep 17 00:00:00 2001 From: cmendible <266546+cmendible@users.noreply.github.com> Date: Mon, 16 Feb 2026 18:47:08 +0100 Subject: [PATCH] fix: Removing --costs parameter since it was removed in azqr v.3.0.0 (#1738) --- servers/Azure.Mcp.Server/CHANGELOG.md | 2 ++ tools/Azure.Mcp.Tools.Extension/src/Commands/AzqrCommand.cs | 5 ----- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/servers/Azure.Mcp.Server/CHANGELOG.md b/servers/Azure.Mcp.Server/CHANGELOG.md index 7d6938f989..777b33e3f4 100644 --- a/servers/Azure.Mcp.Server/CHANGELOG.md +++ b/servers/Azure.Mcp.Server/CHANGELOG.md @@ -10,6 +10,8 @@ The Azure MCP Server updates automatically by default whenever a new release com ### Bugs Fixed +- Fixed `azqr` call failing due to `costs` parameter removed in latest version. [[#1739](https://github.com/microsoft/mcp/pull/1739)] + ### Other Changes ## 2.0.0-beta.19 (2026-02-12) diff --git a/tools/Azure.Mcp.Tools.Extension/src/Commands/AzqrCommand.cs b/tools/Azure.Mcp.Tools.Extension/src/Commands/AzqrCommand.cs index 81798cee99..18c7418492 100644 --- a/tools/Azure.Mcp.Tools.Extension/src/Commands/AzqrCommand.cs +++ b/tools/Azure.Mcp.Tools.Extension/src/Commands/AzqrCommand.cs @@ -96,11 +96,6 @@ public override async Task ExecuteAsync(CommandContext context, var jsonReportFilePath = $"{reportFileName}.json"; command += $" --output-name \"{reportFileName}\""; - // Azure Quick Review CLI can easily get throttle errors when scanning subscriptions with many resources with costs enabled. - // Unfortunately, getting such an error will abort the entire job and waste all the partial results. - // To reduce the chance of throttling, we disable costs reporting by default. - command += " --costs=false"; - // Also generate a JSON report for users who don't have access to Excel. command += " --json";