Suggestions API is used although telemetry is disabled
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 3.5k
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 60
Description
**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
```
Contributor guide
Assessment
This issue has not been assessed yet.