--- id: azure-cli-telemetry version: "1.1.0" license: MIT license_treatment: permissive maintenance: active --- # azure-cli-telemetry — Microsoft Azure CLI Telemetry Package License: permissive · Maintenance: active · Downloads: 5.4M/mo ## What it is and what it does Azure CLI Telemetry is a backend package that collects and uploads usage data and diagnostics from the Azure CLI to Microsoft's Application Insights service. It is not meant to be installed directly by end users but rather as a transitive dependency when installing the Azure CLI itself. The package provides APIs for gathering telemetry events and handles the upload process, with version 1.1.0 switching to immediate upload rather than caching records. The package has no runtime dependencies and is lightweight, designed to integrate seamlessly into the Azure CLI's operation. It supports Python 3.8, 3.9, and 3.10, and is actively maintained by the Azure team. Since its initial release in 2018, it has evolved to optimize telemetry delivery—most recently removing the caching layer in favor of immediate transmission. Use it for: - Automatically collect Azure CLI usage patterns and errors when running Azure CLI commands. - Send diagnostic data to Microsoft for improving Azure CLI features and identifying common issues. - Track which Azure CLI commands are most frequently used across user populations. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Collects and uploads telemetry data for the Azure CLI, sending usage metrics and diagnostics to Application Insights. Yes, but only as a transitive dependency of Azure CLI—do not install directly. The package is production-stable, actively maintained, has no external dependencies, and carries no security vulnerabilities. Its MIT license poses no restrictions. Install it only if you are installing Azure CLI itself; attempting to use it standalone will not work as intended. ## Install pip install azure-cli-telemetry uv add azure-cli-telemetry poetry add azure-cli-telemetry ## Installing azure-cli-telemetry Before you install: Low install friction with no runtime dependencies. Actively maintained; last commit 2026-08-14 with production-stable status. Not intended for direct end-user installation—typically pulled in as a transitive dependency of Azure CLI. License in practice: MIT license permits commercial and private use with minimal restrictions, making it safe for inclusion in enterprise tooling. Quickstart: # Typically imported and used internally by Azure CLI, not directly by end users. # Example (for reference): from azure.cli.telemetry import telemetry_client telemetry_client.add_event('event_name', properties={'key': 'value'}) This package is not intended for direct installation by end users; it is a dependency of Azure CLI and is used internally by that tool. Verify before relying: - Whether telemetry data collection can be disabled or opted out of at runtime. - What specific data points are collected and sent to Application Insights. - Whether the package works with Python versions outside the 3.8–3.10 range listed in classifiers. ## Package facts - License: MIT (permissive) - Python support: unspecified - Install friction: low - Maintenance: active - Downloads: 5.4M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags azure cli telemetry, azure telemetry collection, cli usage tracking, azure diagnostics upload, application insights integration, azure cli metrics, azure-ecosystem, telemetry-backend [View on SkillFed](https://skillfed.io/packages/azure-cli-telemetry) · [View on PyPI](https://pypi.org/project/azure-cli-telemetry/)