Repository navigation
az spring app fails with spring extension 1.28.5 #9302
Copy link
Copy link
Open
Labels
Service AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.Spring CloudSpring Cloud related issuesSpring Cloud related issuesbugThis issue requires a change to an existing behavior in the product in order to be resolved.This 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.Issues that are reported by GitHub users external to the Azure organization.
Description
Activity
- addedbugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.
on Oct 15, 2025 Thank you for opening this issue, we will look into it.
- addedquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.
on Oct 15, 2025 - addedSpring CloudSpring Cloud related issuesSpring Cloud related issuesService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.and removedquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
on Oct 15, 2025 microsoft-github-policy-service commented
on Oct 15, 2025 ContributorMore actionsThanks for the feedback! We are routing this to the appropriate team for follow-up. cc Yuchen Wang (@yucwan), Yuwei Zhou (@yuwzho), Shichao Qiu (@ShichaoQiu).
microsoft-github-policy-service commented
on Oct 15, 2025 ContributorMore actionsThanks for the feedback! We are routing this to the appropriate team for follow-up. cc Yuchen Wang (@yucwan), Yuwei Zhou (@yuwzho), Shichao Qiu (@ShichaoQiu).
manishtulsiani commented
on Feb 13, 2026 More actionsHi, any update on this?
Metadata
Metadata
Assignees
Labels
Service AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.Spring CloudSpring Cloud related issuesSpring Cloud related issuesbugThis issue requires a change to an existing behavior in the product in order to be resolved.This 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.Issues that are reported by GitHub users external to the Azure organization.
Describe the bug
az spring app commands are failing with the error,
Unable to load extension 'spring: cannot import name 'get_arm_endpoints' from 'azure.mgmt.core.tools'
Error: 'app' is misspelled or not recognized by the system.
Related command
az spring app show
Errors
The command failed with an unexpected error. Here is the traceback:
WARNING: Unable to load extension 'spring: cannot import name 'get_arm_endpoints' from 'azure.mgmt.core.tools' (/usr/lib64/az/lib/python3.12/site-packages/azure/mgmt/core/tools.py)'. Use --debug for more information.
WARNING: Preview version of extension is disabled by default for extension installation, enabled for modules without stable versions.
WARNING: Please run 'az config set extension.dynamic_install_allow_preview=true or false' to config it specifically.
ERROR: 'app' is misspelled or not recognized by the system.
Issue script & Debug output
Command: az spring app show -s $spring_app_service_name -g $g_name --name $app_name --subscription $sub --output tsv --query 'properties.activeDeployment.name' --debug
Output:
DEBUG: cli.azure.cli.core: Traceback (most recent call last):
File "/usr/lib64/az/lib/python3.12/site-packages/azure/cli/core/init.py", line 355, in _update_command_table_from_extensions
_load_extension_command_loader(self, args, ext_mod)
File "/usr/lib64/az/lib/python3.12/site-packages/azure/cli/core/commands/init.py", line 1144, in _load_extension_command_loader
return _load_command_loader(loader, args, ext, '')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/az/lib/python3.12/site-packages/azure/cli/core/commands/init.py", line 1115, in _load_command_loader
module = import_module(prefix + name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/importlib/init.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1387, in _gcd_import
File "", line 1360, in _find_and_load
File "", line 1331, in _find_and_load_unlocked
File "", line 935, in _load_unlocked
File "", line 999, in exec_module
File "", line 488, in _call_with_frames_removed
File "/root/.azure/cliextensions/spring/azext_spring/init.py", line 11, in
from azext_spring.commands import load_command_table
File "/root/.azure/cliextensions/spring/azext_spring/commands.py", line 35, in
from ._validators_enterprise import (validate_gateway_update, validate_api_portal_update, validate_dev_tool_portal,
File "/root/.azure/cliextensions/spring/azext_spring/_validators_enterprise.py", line 30, in
from .buildpack_binding import (DEFAULT_BUILD_SERVICE_NAME)
File "/root/.azure/cliextensions/spring/azext_spring/buildpack_binding.py", line 10, in
from .custom import try_create_application_insights
File "/root/.azure/cliextensions/spring/azext_spring/custom.py", line 33, in
from .vendored_sdks.applicationinsights import ApplicationInsightsManagementClient
File "/root/.azure/cliextensions/spring/azext_spring/vendored_sdks/applicationinsights/init.py", line 15, in
from ._application_insights_management_client import ApplicationInsightsManagementClient # type: ignore
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/.azure/cliextensions/spring/azext_spring/vendored_sdks/applicationinsights/_application_insights_management_client.py", line 19, in
from azure.mgmt.core.tools import get_arm_endpoints
ImportError: cannot import name 'get_arm_endpoints' from 'azure.mgmt.core.tools' (/usr/lib64/az/lib/python3.12/site-packages/azure/mgmt/core/tools.py)
ERROR: cli.azure.cli.core.azclierror: 'app' is misspelled or not recognized by the system.
ERROR: az_command_data_logger: 'app' is misspelled or not recognized by the system.
Expected behavior
deployment_name (blue/green)
Environment Summary
azure-cli 2.70.0 *
core 2.70.0 *
telemetry 1.1.0
spring 1.28.5
Dependencies:
msal 1.31.2b1
azure-mgmt-resource 23.1.1
Python location '/usr/bin/python3.12'
Config directory '/root/.azure'
Extensions directory '/root/.azure/cliextensions'
Python (Linux) 3.12.9 (main, Mar 11 2025, 15:30:57) [GCC 13.2.0]
Additional context
We observe the issue is with spring extension 1.28.5 version (latest as of today 10/15)
To unblock this issue, we have installed the 1.28.4 version.