Available Azure CLI Extensions (2025)
Azure CLI extensions add new features and commands to the base CLI, enabling you to manage preview services, integrate with DevOps tools, and automate advanced workflows.
Discovering Extensions
List all available extensions:
az extension list-available --output table
Or search for a specific extension:
az extension list-available --query "[?contains(name, 'aks')]" --output table
Full list: Azure CLI Extensions List (Official)
Installing Extensions
Install an extension (e.g., for AKS preview features):
az extension add --name aks-preview
Upgrade all installed extensions:
az extension update --all
Remove an extension:
az extension remove --name <extension-name>
Real-Life Example: Using the ML Extension for Azure Machine Learning
az extension add --name ml
az ml workspace create --name my-ml-ws --resource-group my-rg
Best Practices (2025)
- Regularly update extensions:
az extension update --all - Use extensions only from trusted sources (Microsoft or verified partners)
- Remove unused extensions to reduce CLI startup time
- Check compatibility after major CLI upgrades
- Use
--output jsonfor automation and scripting
Common Extensions for DevOps Engineers
aks-preview– Advanced AKS featuresml– Azure Machine Learningdevops– Azure DevOps integrationlogic– Logic Apps managementcontainerapp– Azure Container Appsbicep– Native Bicep support
Troubleshooting
- If you encounter issues, try removing and reinstalling the extension
- Check for extension-specific documentation and GitHub issues