Skip to content

Suggestions API is used although telemetry is disabled #23363

@commakoerschgen

Description

@commakoerschgen

Related command
Any invalid command

Describe the bug
az CLI communicates with suggestions API although telemetry is disabled.

To Reproduce

  • Disable telemetry in config file:
[core]
collect_telemetry = no
  • az foo --debug indicates that parts of the command are sent to https://app.aladdin.microsoft.com

Expected behavior
With telemetry disabled, there is no non-required communication. The command should fail without making any further API queries. These API queries could contain sensitive information.

Alternatively, there should be a separate opt-in config parameter for using the suggestions API.

Environment summary

Windows-10-10.0.19044-SP0
Python 3.10.5
Installer: MSI

azure-cli 2.38.0

Extensions:
application-insights 0.1.14
azure-cli-iot-ext 0.8.9
azure-cli-ml 1.33.0
resource-graph 2.1.0
storage-preview 0.7.4

Dependencies:
msal 1.18.0b1
azure-mgmt-resource 21.1.0b1

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions