Skip to content

az find fails with NameResolutionError when app.aladdin.microsoft.com returns NXDOMAIN #33691

Description

@nabinkhair42

Describe the bug

Running the az find command results in an unhandled exception. Instead of returning command examples or a user-friendly error message, the CLI exits with a Python traceback after failing to resolve app.aladdin.microsoft.com.

Authentication and other Azure resource management commands continue to work normally, indicating the issue is isolated to az find.

Related command

az find vm

Errors

requests.exceptions.ConnectionError:
HTTPSConnectionPool(host='app.aladdin.microsoft.com', port=443)

Caused by:

urllib3.exceptions.NameResolutionError:
Failed to resolve 'app.aladdin.microsoft.com'
([Errno 8] nodename nor servname provided, or not known)

Issue script & Debug output

az find vm --debug

Expected behavior

az find should return example Azure CLI commands. If the backend service is unavailable or the endpoint cannot be reached, the command should fail gracefully with a clear error message instead of an unhandled Python traceback.

Environment Summary

  • Azure CLI: 2.87.0
  • Installation method: Homebrew
  • Operating System: macOS
  • Python: Bundled with Homebrew Azure CLI (Python 3.13)

The following commands work successfully:

az account show
az vm list
az group list

Additional context

Running the following command:

nslookup app.aladdin.microsoft.com

returns:

** server can't find app.aladdin.microsoft.com: NXDOMAIN

This suggests the issue is isolated to the endpoint used by az find. If the endpoint has been retired or changed, the CLI may need to use an updated endpoint or handle the failure more gracefully.

Metadata

Metadata

Labels

ARMaz resource/group/lock/tag/deployment/policy/managementapp/account management-groupAuto-AssignAuto assign by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamComputeaz vm/vmss/image/disk/snapshotact-quality-productivity-squadbugThis 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.

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions