azure-mgmt-subscription
Microsoft Azure Subscription Management Client Library for Python
Decision gist · record as of 2026-08-14
Yes. This is the official, actively maintained Microsoft library for subscription management in Azure. It has low install friction, no known vulnerabilities, permissive licensing, and is widely used (top 5000 on PyPI). Install it if you need to manage Azure subscriptions programmatically; it is the standard choice for this task.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Azure credentials (via azure-identity or similar) and appropriate Azure permissions to list or manage subscriptions.
- Low install friction with a pure-Python wheel distribution.
- Actively maintained with recent commits and no known vulnerabilities.
License · maintenance · safety
MIT License (permissive) — MIT License permits commercial and private use with minimal restrictions; you may use, modify, and distribute this package freely provided you include the license notice.
last release 2022-09-06 (1438 days) · last repo commit 2026-08-14 · 5,588 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 3,450,237 downloads/mo, #2,620 on PyPI
Alternatives
Verify before relying
pip install azure-mgmt-subscription
from azure.mgmt.subscription import SubscriptionClient
from azure.identity import DefaultAzureCredential
credential = DefaultAzureCredential()
client = SubscriptionClient(credential)
subscriptions = client.subscriptions.list()- Whether the package supports async operations beyond what the description excerpt indicates.
- Current state of the three runtime dependencies (msrest, azure-common, azure-mgmt-core) and their maintenance status.
- Whether all operation groups mentioned in the release history (SubscriptionsOperations, TenantsOperations, BillingAccountOperations) are currently available in version 3.1.1.
What it is and what it does
This is the official Microsoft Azure Subscription Management client library for Python. It wraps the Azure REST API to let you programmatically manage subscriptions—creating, renaming, canceling, and querying their state—from Python code. The library is part of the broader Azure SDK for Python and uses modern credential handling via azure-identity rather than legacy authentication methods.
The package supports Python 3.7 and later, has been tested against current versions, and is actively maintained by Microsoft. It depends on three core Azure libraries (msrest, azure-common, azure-mgmt-core) to handle HTTP communication, credential management, and common Azure SDK patterns. The library includes type annotations for IDE support and integrates with standard Python async patterns where applicable.
Use it for
- Automate subscription lifecycle management in multi-tenant or enterprise Azure environments.
- Build internal tools to query subscription state, ownership, and billing information programmatically.
- Integrate subscription operations into infrastructure-as-code or deployment automation pipelines.
- Manage subscription aliases and accept ownership transfers via API rather than the Azure portal.
- Monitor and track subscription status changes as part of a larger Azure resource management workflow.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
This is the official, actively maintained Microsoft library for subscription management in Azure. It has low install friction, no known vulnerabilities, permissive licensing, and is widely used (top 5000 on PyPI). Install it if you need to manage Azure subscriptions programmatically; it is the standard choice for this task.
Install
azure-mgmt-subscription on PyPI
Before you install
Low install friction with a pure-Python wheel distribution. Actively maintained with recent commits and no known vulnerabilities. Depends on three stable Azure base libraries (msrest, azure-common, azure-mgmt-core).
Requires Azure credentials (via azure-identity or similar) and appropriate Azure permissions to list or manage subscriptions.
License in practice
MIT License permits commercial and private use with minimal restrictions; you may use, modify, and distribute this package freely provided you include the license notice.
Quickstart
pip install azure-mgmt-subscription
from azure.mgmt.subscription import SubscriptionClient
from azure.identity import DefaultAzureCredential
credential = DefaultAzureCredential()
client = SubscriptionClient(credential)
subscriptions = client.subscriptions.list()
Verify before relying
- Whether the package supports async operations beyond what the description excerpt indicates.
- Current state of the three runtime dependencies (msrest, azure-common, azure-mgmt-core) and their maintenance status.
- Whether all operation groups mentioned in the release history (SubscriptionsOperations, TenantsOperations, BillingAccountOperations) are currently available in version 3.1.1.
Package facts
| License | MIT License permissive |
| Python support | Supports the current Python release >=3.7 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagesmsrestazure-commonazure-mgmt-core |
| Maintenance | Actively maintained 1,438 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 3,450,237 / month, #2,620 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaLicense :: OSI Approved :: MIT LicenseProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9 |
Evidence: azure_mgmt_subscription-3.1.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “azure subscription management”
- azure-mgmt-subscriptionProvides Python client library for managing Azure subscriptions,…
- azure-mgmt-billingProvides programmatic access to Azure billing and subscription…
- azure-mgmt-resource-subscriptionsManages Azure subscriptions and related resources through a Python…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also azure-mgmt-managementpartner · azure-mgmt-resource-subscriptions · azure-mgmt-commerce · azure-mgmt-msi · azure-mgmt-managedservices · azure-mgmt-marketplaceordering · azure-mgmt-trafficmanager · azure-mgmt-resourcegraph · azure-mgmt-advisor · azure-cognitiveservices-vision-customvision