azure-mgmt-advisor
Microsoft Azure Advisor Management Client Library for Python
What it is and what it does
azure-mgmt-advisor is the official Python client library for Azure Advisor, Microsoft's service that analyzes your Azure resources and provides personalized recommendations to optimize cost, performance, security, and reliability. It wraps the Azure Advisor REST API, allowing you to programmatically query recommendations, manage suppressions, and access recommendation metadata.
The package is part of the broader Azure SDK for Python and follows its authentication and design patterns. It requires Python 3.9 or later and depends on azure-mgmt-core for common Azure SDK functionality, isodate for date/time handling, and typing-extensions for type hints. Authentication is handled via Azure Active Directory using environment variables (AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, AZURE_SUBSCRIPTION_ID).
Use it for:
- Retrieve cost optimization recommendations for your Azure resources and integrate them into billing dashboards or cost management workflows.
- Automate suppression of known or irrelevant Advisor recommendations to reduce noise in your recommendation feed.
- Query recommendation metadata and resource metadata to build custom reporting or compliance auditing tools.
- Integrate Azure Advisor insights into your infrastructure-as-code or resource governance automation pipeline.
- Fetch security and reliability recommendations programmatically to feed into your cloud governance or risk assessment systems.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides Python bindings to interact with Azure Advisor, Microsoft's cloud recommendation service, allowing you to retrieve and manage optimization suggestions for your Azure resources.
Yes. This is an actively maintained, production-stable library from Microsoft with low install friction and no known vulnerabilities. Install it if you need programmatic access to Azure Advisor recommendations or if you're building Azure management tooling that should include cost and performance optimization insights. Requires Python 3.9+ and Azure subscription credentials.
Install
azure-mgmt-advisor on PyPI
pip
pip install azure-mgmt-advisoruv
uv add azure-mgmt-advisorpoetry
poetry add azure-mgmt-advisorInstalling azure-mgmt-advisor
Before you install
Low install friction with a pure-wheel distribution. Maintained actively with recent releases; last commit was 2026-08-14. Requires Python 3.9+ and depends on three lightweight runtime packages (isodate, azure-mgmt-core, typing-extensions).
Quickstart
pip install azure-mgmt-advisor
from azure.mgmt.advisor import AdvisorManagementClient
import os
sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = AdvisorManagementClient(credential=credential, subscription_id=sub_id)
Requires Python 3.9+, Azure subscription, and environment variables AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, and AZURE_SUBSCRIPTION_ID configured for authentication.
Verify before relying
- Whether async support is available via an aio namespace as mentioned in the release history.
- Specific Azure Advisor API operations and models exposed in version 9.0.1.
- Whether the package requires additional authentication libraries beyond its declared runtime dependencies.
Package facts
| License | not declared (unclear) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 3 — isodate, azure-mgmt-core, typing-extensions |
| Maintenance | actively maintained — 93 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 6,982,174/month — #1,802 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: azure_mgmt_advisor-9.0.1-py3-none-any.whl
Keywords: azure, azure sdk
Tags
More Monitoring packages
Wraps any iterable to display a real-time…
copyleft · top 100 on PyPI
opentelemetry-semantic-conventionsProvides generated Python code for…
permissive · top 100 on PyPI
opentelemetry-sdkProvides the reference implementation of the…
permissive · top 100 on PyPI
opentelemetry-apiProvides the abstract API and interfaces for…
permissive · top 100 on PyPI
opentelemetry-exporter-otlp-proto-httpExports OpenTelemetry observability data to an…
permissive · top 1,000 on PyPI
opentelemetry-instrumentationProvides automatic instrumentation commands and…
permissive · top 1,000 on PyPI
azure-mgmt-managementpartnerProvides a Python client library for managing…
unclear · top 5,000 on PyPI
azure-mgmt-logicProvides Python client library for managing…
permissive · top 5,000 on PyPI
azure-mgmt-trafficmanagerProvides a Python client library to manage…
permissive · top 5,000 on PyPI
azure-mgmt-subscriptionProvides Python client library for managing…
permissive · top 5,000 on PyPI
azure-mgmt-msiManages Azure Managed Service Identities…
permissive · top 5,000 on PyPI
azure-mgmt-managedservicesProvides Python client library for managing…
unclear · top 15,000 on PyPI
azure-mgmt-commerceProvides a Python client library for managing…
unclear · top 5,000 on PyPI
azure-cognitiveservices-vision-customvisionProvides Python bindings to train and deploy…
permissive · top 15,000 on PyPI
azure-cognitiveservices-vision-computervisionProvides Python bindings to call Microsoft…
permissive · top 15,000 on PyPI
azure-appconfigurationProvides a Python client to create, retrieve,…
permissive · top 5,000 on PyPI