Skip to content

az extension add --name front-door fails with error The checksum of the extension does not match the expected value. Use --debug for more information. #10067

Description

@stokuri

Describe the bug

az extension add --name front-door fails with error The checksum of the extension does not match the expected value. Use --debug for more information.

Related command

az extension add --name front-door

Errors

The checksum of the extension does not match the expected value. Use --debug for more information.

Issue script & Debug output

W-F1CQXC4:~$ az extension add -n front-door --debug
cli.knack.cli: Command arguments: ['extension', 'add', '-n', 'front-door', '--debug']
cli.knack.cli: init debug log:
Enable color in terminal.
cli.knack.cli: Event: Cli.PreExecute []
cli.knack.cli: Event: CommandParser.OnGlobalArgumentsCreate [<function CLILogging.on_global_arguments at 0x72a7f64db880>, <function OutputProducer.on_global_arguments at 0x72a7f622a7a0>, <function CLIQuery.on_global_arguments at 0x72a7f626fce0>]
cli.knack.cli: Event: CommandInvoker.OnPreCommandTableCreate []
cli.azure.cli.core: Modules found from index for 'extension': ['azure.cli.command_modules.extension']
cli.azure.cli.core: Loading command modules:
cli.azure.cli.core: Name Load Time Groups Commands
cli.azure.cli.core: extension 0.002 1 7
cli.azure.cli.core: Total (1) 0.002 1 7
cli.azure.cli.core: These extensions are not installed and will be skipped: ['azext_ai_examples', 'azext_next']
cli.azure.cli.core: Loading extensions:
cli.azure.cli.core: Name Load Time Groups Commands Directory
cli.azure.cli.core: Total (0) 0.000 0 0
cli.azure.cli.core: Loaded 1 groups, 7 commands.
cli.azure.cli.core: Found a match in the command table.
cli.azure.cli.core: Raw command : extension add
cli.azure.cli.core: Command table: extension add
cli.knack.cli: Event: CommandInvoker.OnPreCommandTableTruncate [<function AzCliLogging.init_command_file_logging at 0x72a7f54a7e20>]
cli.azure.cli.core.azlogging: metadata file logging enabled - writing logs to '/home/stokuri/.azure/commands/2026-07-02.19-55-45.extension_add.6472.log'.
az_command_data_logger: command args: extension add -n {} --debug
cli.knack.cli: Event: CommandInvoker.OnPreArgumentLoad [<function register_global_subscription_argument..add_subscription_parameter at 0x72a7f54f0360>]
cli.knack.cli: Event: CommandInvoker.OnPostArgumentLoad []
cli.knack.cli: Event: CommandInvoker.OnPostCommandTableCreate [<function register_ids_argument..add_ids_arguments at 0x72a7f54f2b60>, <function register_cache_arguments..add_cache_arguments at 0x72a7f54f2ca0>, <function register_upcoming_breaking_change_info..update_breaking_change_info at 0x72a7f54f2d40>]
cli.knack.cli: Event: CommandInvoker.OnCommandTableLoaded []
cli.knack.cli: Event: CommandInvoker.OnPreParseArgs []
cli.knack.cli: Event: CommandInvoker.OnPostParseArgs [<function OutputProducer.handle_output_argument at 0x72a7f622a840>, <function CLIQuery.handle_query_parameter at 0x72a7f626fd80>, <function register_ids_argument..parse_ids_arguments at 0x72a7f54f2c00>]
urllib3.connectionpool: Starting new HTTPS connection (1): aka.ms:443
urllib3.connectionpool: https://aka.ms:443 "GET /azure-cli-extension-index-v1 HTTP/1.1" 301 0
urllib3.connectionpool: Starting new HTTPS connection (1): azcliextensionsync.blob.core.windows.net:443
urllib3.connectionpool: https://azcliextensionsync.blob.core.windows.net:443 "GET /index1/index.json HTTP/1.1" 200 4835364
cli.azure.cli.core.extension._resolve: No preview versions need to be tried.
cli.azure.cli.core.extension._resolve: Candidates ['front_door-1.0.2-py2.py3-none-any.whl', 'front_door-1.0.3-py2.py3-none-any.whl', 'front_door-1.0.4-py2.py3-none-any.whl', 'front_door-1.0.5-py3-none-any.whl', 'front_door-1.0.6-py3-none-any.whl', 'front_door-1.0.7-py3-none-any.whl', 'front_door-1.0.8-py3-none-any.whl', 'front_door-1.0.9-py3-none-any.whl', 'front_door-1.0.11-py3-none-any.whl', 'front_door-1.0.12-py3-none-any.whl', 'front_door-1.0.13-py3-none-any.whl', 'front_door-1.0.14-py3-none-any.whl', 'front_door-1.0.15-py3-none-any.whl', 'front_door-1.0.16-py3-none-any.whl', 'front_door-1.0.17-py3-none-any.whl', 'front_door-1.1.0-py3-none-any.whl', 'front_door-1.1.1-py3-none-any.whl', 'front_door-1.2.0-py3-none-any.whl', 'front_door-1.2.1-py3-none-any.whl', 'front_door-1.3.0-py3-none-any.whl', 'front_door-1.4.0-py3-none-any.whl', 'front_door-2.0.0-py3-none-any.whl', 'front_door-2.1.0-py3-none-any.whl', 'front_door-2.2.0-py3-none-any.whl', 'front_door-2.3.0-py3-none-any.whl']
cli.azure.cli.core.extension._resolve: Candidates ['front_door-1.0.2-py2.py3-none-any.whl', 'front_door-1.0.3-py2.py3-none-any.whl', 'front_door-1.0.4-py2.py3-none-any.whl', 'front_door-1.0.5-py3-none-any.whl', 'front_door-1.0.6-py3-none-any.whl', 'front_door-1.0.7-py3-none-any.whl', 'front_door-1.0.8-py3-none-any.whl', 'front_door-1.0.9-py3-none-any.whl', 'front_door-1.0.11-py3-none-any.whl', 'front_door-1.0.12-py3-none-any.whl', 'front_door-1.0.13-py3-none-any.whl', 'front_door-1.0.14-py3-none-any.whl', 'front_door-1.0.15-py3-none-any.whl', 'front_door-1.0.16-py3-none-any.whl', 'front_door-1.0.17-py3-none-any.whl', 'front_door-1.1.0-py3-none-any.whl', 'front_door-1.1.1-py3-none-any.whl', 'front_door-1.2.0-py3-none-any.whl', 'front_door-1.2.1-py3-none-any.whl', 'front_door-1.3.0-py3-none-any.whl', 'front_door-1.4.0-py3-none-any.whl', 'front_door-2.0.0-py3-none-any.whl', 'front_door-2.1.0-py3-none-any.whl', 'front_door-2.2.0-py3-none-any.whl', 'front_door-2.3.0-py3-none-any.whl']
cli.azure.cli.core.extension._resolve: Candidates ['front_door-1.0.2-py2.py3-none-any.whl', 'front_door-1.0.3-py2.py3-none-any.whl', 'front_door-1.0.4-py2.py3-none-any.whl', 'front_door-1.0.5-py3-none-any.whl', 'front_door-1.0.6-py3-none-any.whl', 'front_door-1.0.7-py3-none-any.whl', 'front_door-1.0.8-py3-none-any.whl', 'front_door-1.0.9-py3-none-any.whl', 'front_door-1.0.11-py3-none-any.whl', 'front_door-1.0.12-py3-none-any.whl', 'front_door-1.0.13-py3-none-any.whl', 'front_door-1.0.14-py3-none-any.whl', 'front_door-1.0.15-py3-none-any.whl', 'front_door-1.0.16-py3-none-any.whl', 'front_door-1.0.17-py3-none-any.whl', 'front_door-1.1.0-py3-none-any.whl', 'front_door-1.1.1-py3-none-any.whl', 'front_door-1.2.0-py3-none-any.whl', 'front_door-1.2.1-py3-none-any.whl', 'front_door-1.3.0-py3-none-any.whl', 'front_door-1.4.0-py3-none-any.whl', 'front_door-2.0.0-py3-none-any.whl', 'front_door-2.1.0-py3-none-any.whl', 'front_door-2.2.0-py3-none-any.whl', 'front_door-2.3.0-py3-none-any.whl']
cli.azure.cli.core.extension._resolve: Candidates ['front_door-1.0.2-py2.py3-none-any.whl', 'front_door-1.0.3-py2.py3-none-any.whl', 'front_door-1.0.4-py2.py3-none-any.whl', 'front_door-1.0.5-py3-none-any.whl', 'front_door-1.0.6-py3-none-any.whl', 'front_door-1.0.7-py3-none-any.whl', 'front_door-1.0.8-py3-none-any.whl', 'front_door-1.0.9-py3-none-any.whl', 'front_door-1.0.11-py3-none-any.whl', 'front_door-1.0.12-py3-none-any.whl', 'front_door-1.0.13-py3-none-any.whl', 'front_door-1.0.14-py3-none-any.whl', 'front_door-1.0.15-py3-none-any.whl', 'front_door-1.0.16-py3-none-any.whl', 'front_door-1.0.17-py3-none-any.whl', 'front_door-1.1.0-py3-none-any.whl', 'front_door-1.1.1-py3-none-any.whl', 'front_door-1.2.0-py3-none-any.whl', 'front_door-1.2.1-py3-none-any.whl', 'front_door-1.3.0-py3-none-any.whl', 'front_door-1.4.0-py3-none-any.whl', 'front_door-2.0.0-py3-none-any.whl', 'front_door-2.1.0-py3-none-any.whl', 'front_door-2.2.0-py3-none-any.whl', 'front_door-2.3.0-py3-none-any.whl']
cli.azure.cli.core.extension._resolve: Candidates ['front_door-1.0.2-py2.py3-none-any.whl', 'front_door-1.0.3-py2.py3-none-any.whl', 'front_door-1.0.4-py2.py3-none-any.whl', 'front_door-1.0.5-py3-none-any.whl', 'front_door-1.0.6-py3-none-any.whl', 'front_door-1.0.7-py3-none-any.whl', 'front_door-1.0.8-py3-none-any.whl', 'front_door-1.0.9-py3-none-any.whl', 'front_door-1.0.11-py3-none-any.whl', 'front_door-1.0.12-py3-none-any.whl', 'front_door-1.0.13-py3-none-any.whl', 'front_door-1.0.14-py3-none-any.whl', 'front_door-1.0.15-py3-none-any.whl', 'front_door-1.0.16-py3-none-any.whl', 'front_door-1.0.17-py3-none-any.whl', 'front_door-1.1.0-py3-none-any.whl', 'front_door-1.1.1-py3-none-any.whl', 'front_door-1.2.0-py3-none-any.whl', 'front_door-1.2.1-py3-none-any.whl', 'front_door-1.3.0-py3-none-any.whl', 'front_door-1.4.0-py3-none-any.whl', 'front_door-2.0.0-py3-none-any.whl', 'front_door-2.1.0-py3-none-any.whl', 'front_door-2.2.0-py3-none-any.whl', 'front_door-2.3.0-py3-none-any.whl']
cli.azure.cli.core.extension._resolve: Chosen {'downloadUrl': 'https://azcliprod.blob.core.windows.net/cli-extensions/front_door-2.3.0-py3-none-any.whl', 'filename': 'front_door-2.3.0-py3-none-any.whl', 'metadata': {'azext.minCliCoreVersion': '2.75.0', 'classifiers': ['Development Status :: 4 - Beta', 'Intended Audience :: Developers', 'Intended Audience :: System Administrators', 'Programming Language :: Python', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'License :: OSI Approved :: MIT License'], 'extensions': {'python.details': {'contacts': [{'email': 'azpycli@microsoft.com', 'name': 'Microsoft Corporation', 'role': 'author'}], 'document_names': {'description': 'DESCRIPTION.rst'}, 'project_urls': {'Home': 'https://github.com/Azure/azure-cli-extensions/tree/main/src/front-door'}}}, 'generator': 'bdist_wheel (0.30.0)', 'license': 'MIT', 'metadata_version': '2.0', 'name': 'front-door', 'summary': 'Manage networking Front Doors.', 'version': '2.3.0'}, 'sha256Digest': '9e9577cd1c90f1b9d036dc6b2f40f8b7ba098f3a7d9bfa8140edfdcc251f1844'}
cli.azure.cli.core.extension.operations: Extension source is url? True
cli.azure.cli.core.extension.operations: Downloading https://azcliprod.blob.core.windows.net/cli-extensions/front_door-2.3.0-py3-none-any.whl to /tmp/tmpjz74fmki/front_door-2.3.0-py3-none-any.whl
urllib3.connectionpool: Starting new HTTPS connection (1): azcliprod.blob.core.windows.net:443
urllib3.connectionpool: https://azcliprod.blob.core.windows.net:443 "GET /cli-extensions/front_door-2.3.0-py3-none-any.whl HTTP/1.1" 200 260142
cli.azure.cli.core.extension.operations: Downloaded to /tmp/tmpjz74fmki/front_door-2.3.0-py3-none-any.whl
cli.azure.cli.core.extension.operations: Validating the extension /tmp/tmpjz74fmki/front_door-2.3.0-py3-none-any.whl
cli.azure.cli.core.extension.operations: Invalid checksum for /tmp/tmpjz74fmki/front_door-2.3.0-py3-none-any.whl. Expected '9e9577cd1c90f1b9d036dc6b2f40f8b7ba098f3a7d9bfa8140edfdcc251f1844', computed 'f94abb27869f80f073759d66b7eaf20adff37aaab14234b5ea76d57e3c0695e5'.
cli.azure.cli.core.azclierror: Traceback (most recent call last):
File "/opt/az/lib/python3.12/site-packages/knack/cli.py", line 233, in invoke
cmd_result = self.invocation.execute(args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/az/lib/python3.12/site-packages/azure/cli/core/commands/init.py", line 666, in execute
raise ex
File "/opt/az/lib/python3.12/site-packages/azure/cli/core/commands/init.py", line 734, in _run_jobs_serially
results.append(self._run_job(expanded_arg, cmd_copy))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/az/lib/python3.12/site-packages/azure/cli/core/commands/init.py", line 703, in _run_job
result = cmd_copy(params)
^^^^^^^^^^^^^^^^
File "/opt/az/lib/python3.12/site-packages/azure/cli/core/commands/init.py", line 336, in call
return self.handler(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/az/lib/python3.12/site-packages/azure/cli/core/commands/command_operation.py", line 120, in handler
return op(**command_args)
^^^^^^^^^^^^^^^^^^
File "/opt/az/lib/python3.12/site-packages/azure/cli/command_modules/extension/custom.py", line 16, in add_extension_cmd
return add_extension(cli_ctx=cmd.cli_ctx, source=source, extension_name=extension_name, index_url=index_url,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/az/lib/python3.12/site-packages/azure/cli/core/extension/operations.py", line 343, in add_extension
extension_name = _add_whl_ext(cli_ctx=cmd_cli_ctx, source=source, ext_sha256=ext_sha256,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/az/lib/python3.12/site-packages/azure/cli/core/extension/operations.py", line 142, in _add_whl_ext
raise CLIError("The checksum of the extension does not match the expected value. "
knack.util.CLIError: The checksum of the extension does not match the expected value. Use --debug for more information.

cli.azure.cli.core.azclierror: The checksum of the extension does not match the expected value. Use --debug for more information.
az_command_data_logger: The checksum of the extension does not match the expected value. Use --debug for more information.
cli.knack.cli: Event: Cli.PostExecute [<function AzCliLogging.deinit_cmd_metadata_logging at 0x72a7f54a80e0>]
az_command_data_logger: exit code: 1
cli.main: Command ran in 9.280 seconds (init: 0.204, invoke: 9.075)
telemetry.main: Begin splitting cli events and extra events, total events: 1
telemetry.client: Accumulated 0 events. Flush the clients.
telemetry.main: Finish splitting cli events and extra events, cli events: 1
telemetry.save: Save telemetry record of length 4038 in cache file under /home/stokuri/.azure/telemetry/20260702195554338
telemetry.main: Begin creating telemetry upload process.
telemetry.process: Creating upload process: "/opt/az/bin/python3 /opt/az/lib/python3.12/site-packages/azure/cli/telemetry/init.py /home/stokuri/.azure /home/stokuri/.azure/telemetry/20260702195554338"
telemetry.process: Return from creating process 6510
telemetry.main: Finish creating telemetry upload process.
stokuri@W-F1CQXC4:~$ rm -rf /.azure/cliextensions/front-door
stokuri@W-F1CQXC4:
$ az extension add -n front-door
The checksum of the extension does not match the expected value. Use --debug for more information.

Expected behavior

az extension add --name front-door should succeed

Environment Summary

xxx@W-F1CQXC4:~$ az --version
azure-cli 2.75.0 *

core 2.75.0 *
telemetry 1.1.0

Extensions:
application-insights 1.2.3
bastion 1.4.3

Dependencies:
msal 1.33.0b1
azure-mgmt-resource 23.3.0

Python location '/opt/az/bin/python3'
Config directory '/home/xxx/.azure'
Extensions directory '/home/xxx/.azure/cliextensions'

Python (Linux) 3.12.10 (main, Jun 24 2025, 10:15:05) [GCC 11.4.0]

Legal docs and information: aka.ms/AzureCliLegal

You have 2 update(s) available. Consider updating your CLI installation with 'az upgrade'

Additional context

It is trying to install version 2.3.0 and downloading it from
https://azcliprod.blob.core.windows.net/cli-extensions/front_door-2.3.0-py3-none-any.whl

The published sha256:9e9577cd1c90f1b9d036dc6b2f40f8b7ba098f3a7d9bfa8140edfdcc251f1844

computed(by manually downloading) f94abb27869f80f073759d66b7eaf20adff37aaab14234b5ea76d57e3c0695e5

which is wong

xxx@W-F1CQXC4:~$ wget https://azcliprod.blob.core.windows.net/cli-extensions/front_door-2.3.0-py3-none-any.whl
--2026-07-02 20:22:07--  https://azcliprod.blob.core.windows.net/cli-extensions/front_door-2.3.0-py3-none-any.whl
Resolving azcliprod.blob.core.windows.net (azcliprod.blob.core.windows.net)... 57.150.61.65
Connecting to azcliprod.blob.core.windows.net (azcliprod.blob.core.windows.net)|57.150.61.65|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 260142 (254K) [application/octet-stream]
Saving to: ‘front_door-2.3.0-py3-none-any.whl’

front_door-2.3.0-py3-none-any.whl       100%[==============================================================================>] 254.04K   232KB/s    in 1.1s

2026-07-02 20:22:09 (232 KB/s) - ‘front_door-2.3.0-py3-none-any.whl’ saved [260142/260142]

xxx@W-F1CQXC4:~$ sha256sum front_door-2.3.0-py3-none-any.whl
f94abb27869f80f073759d66b7eaf20adff37aaab14234b5ea76d57e3c0695e5  front_door-2.3.0-py3-none-any.whl

Metadata

Metadata

Assignees

No one assigned

    Labels

    Network - Front DoorService AttentionThis issue is responsible by Azure service team.bugThis issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.extension/front-door

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions