Install and upgrade the Azure Data Explorer data source plugin
This document covers how to install, upgrade, and verify the Azure Data Explorer data source plugin across different Grafana deployment environments. After the plugin is installed, refer to Configure the Azure Data Explorer data source to set up a connection.
Before you begin
Verify the following requirements before installing:
Activate the Enterprise plugin
The Azure Data Explorer data source is a Grafana Enterprise plugin. Before you can install it, the plugin must be licensed and activated for your environment. If the plugin isn’t activated, the Install button doesn’t appear, and Save & test returns a generic Plugin health check failed error.
Grafana Cloud
- Sign in to Grafana Cloud.
- Select your organization and open the Plugins tab to verify the plugin is activated.
- If it isn’t listed, confirm your Cloud plan is Pro or Advanced, and contact your Grafana account team to add it.
Self-managed Grafana Enterprise
- Confirm your Grafana Enterprise license includes the plugin.
- Provide the license using the
GF_ENTERPRISE_LICENSE_TEXTenvironment variable or a path to a license file. Refer to Activate an Enterprise license. - Restart Grafana and confirm the license is active under Administration > General > Stats and license.
Install the plugin
Choose the installation method that matches your Grafana deployment.
Grafana Cloud
- Navigate to Administration > Plugins and data > Plugins.
- Search for Azure Data Explorer and click Install.
Self-managed Grafana (CLI)
Install the plugin with the Grafana command line tool:
grafana cli plugins install grafana-azure-data-explorer-datasourceRestart Grafana after installation.
Docker
Set the GF_INSTALL_PLUGINS environment variable to install the plugin at container startup, and provide the Enterprise license with GF_ENTERPRISE_LICENSE_TEXT:
docker run -d \
-p 3000:3000 \
-e "GF_INSTALL_PLUGINS=grafana-azure-data-explorer-datasource" \
-e "GF_ENTERPRISE_LICENSE_TEXT=<your license text>" \
grafana/grafana-enterpriseKubernetes
Add the plugin to your Helm values or the GF_INSTALL_PLUGINS environment variable. If you don’t control the Helm chart, use an init container to download and unzip the plugin into the plugins volume.
Air-gapped (offline) installation
- On a machine with internet access, download the plugin ZIP from the plugin catalog.
- Transfer the ZIP to the Grafana server and extract it into the Grafana plugins directory, such as
/var/lib/grafana/plugins. - Set ownership of the extracted files to the Grafana user and restart Grafana.
- If Grafana reports an unsigned plugin error, allow the plugin with
allow_loading_unsigned_pluginsingrafana.ini.
Verify the installation
- Navigate to Administration > Plugins and data > Plugins.
- Search for Azure Data Explorer and verify it shows a status of Installed.
Upgrade the plugin
Note
On Grafana Cloud, the Azure Data Explorer plugin is managed by Grafana and updates automatically. On self-managed Grafana, you must update the plugin manually. In other managed environments, such as Azure Managed Grafana, the platform provider controls the plugin version.
To upgrade the plugin on self-managed Grafana:
Update to the latest version with the Grafana command line tool:
grafana cli plugins update grafana-azure-data-explorer-datasourceTo install a specific version, append the version to the command:
grafana cli plugins install grafana-azure-data-explorer-datasource <version>Restart Grafana to load the new version.
To roll back to a previous version on self-managed Grafana, install the specific earlier version and restart Grafana. For upgrade and version troubleshooting, refer to Version and upgrade guidance.
Uninstall the plugin
To remove the plugin on self-managed Grafana, use the Grafana command line tool and restart Grafana:
grafana cli plugins remove grafana-azure-data-explorer-datasourceFor Docker and Kubernetes deployments, remove the plugin from the GF_INSTALL_PLUGINS environment variable or Helm values and redeploy.
Note
Existing data source configurations are preserved in the Grafana database, but they stop working until you reinstall the plugin.
Troubleshoot installation issues
For more solutions, refer to Troubleshooting.


