azure-mgmt-resource-subscriptions
Microsoft Azure Subscriptions Management Client Library for Python
What it is and what it does
This is Microsoft's official Python client library for managing Azure subscriptions and their properties. It wraps the Azure Resource Manager API, allowing you to query subscription details, list locations, and perform subscription-level operations programmatically. The package depends on isodate, azure-mgmt-core, and typing-extensions, and requires Python 3.10 or later.
The library uses Microsoft Entra for authentication via environment variables. It reached general availability in version 1.0.0 after beta releases that introduced hybrid models and breaking changes to error handling. The package is actively maintained by Microsoft, with recent commits and no known security vulnerabilities.
Use it for:
- Enumerate all subscriptions and their properties within an Azure tenant for billing or compliance audits
- Retrieve available Azure regions and location metadata for a subscription programmatically
- Automate subscription-level operations as part of infrastructure-as-code or cloud management workflows
- Build multi-tenant Azure applications that need to query subscription details across customer accounts
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Manages Azure subscriptions and related resources through a Python client library, providing programmatic access to subscription operations and metadata via the Azure Resource Manager API.
Yes. This is Microsoft's official, actively maintained library for subscription management in Python. It has low install friction, permissive MIT licensing, no security vulnerabilities, and is in production-stable status. Install it if you need to query or manage Azure subscriptions programmatically; skip it if you only work with individual resources within a known subscription.
Install
azure-mgmt-resource-subscriptions on PyPI
pip
pip install azure-mgmt-resource-subscriptionsuv
uv add azure-mgmt-resource-subscriptionspoetry
poetry add azure-mgmt-resource-subscriptionsInstalling azure-mgmt-resource-subscriptions
Before you install
Low friction install with three lightweight runtime dependencies. Active maintenance: released 25 days ago with recent commits, stable production status (Development Status 5), and no known vulnerabilities.
License in practice
MIT license permits commercial and private use with minimal restrictions—you may use, modify, and distribute this package freely provided you retain the license notice.
Quickstart
pip install azure-mgmt-resource-subscriptions
from azure.mgmt.resource.subscriptions import SubscriptionClient
from azure.identity import DefaultAzureCredential
client = SubscriptionClient(credential=DefaultAzureCredential())
Requires Python 3.10+. Azure authentication requires AZURE_CLIENT_ID, AZURE_TENANT_ID, and AZURE_CLIENT_SECRET environment variables to be set.
Verify before relying
- Specific subscription operations and methods available beyond SubscriptionClient instantiation
- Whether list_locations and other operations are documented with examples in the package itself
- Full scope of subscription-level operations supported by SubscriptionClient
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 3 — isodate, azure-mgmt-core, typing-extensions |
| Maintenance | actively maintained — 25 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 229,730/month — #9,124 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: azure_mgmt_resource_subscriptions-1.0.0-py3-none-any.whl
Keywords: azure, azure sdk
Tags
More Software Development packages
Provides backported and experimental type hints…
permissive · top 100 on PyPI
numpyNumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
distlibDistlib provides low-level packaging utilities…
permissive · top 1,000 on PyPI
azure-mgmt-billingProvides programmatic access to Azure billing…
permissive · top 5,000 on PyPI
azure-mgmt-domainregistrationManages Azure domain registrations…
permissive · top 5,000 on PyPI
azure-mgmt-eventgridManages Azure Event Grid resources—topics,…
permissive · top 5,000 on PyPI
azure-mgmt-resource-deploymentsManages Azure resource deployments…
permissive · top 5,000 on PyPI
azure-mgmt-resourceProvides Python bindings to manage Azure…
permissive · top 1,000 on PyPI
azure-mgmt-subscriptionProvides Python client library for managing…
permissive · top 5,000 on PyPI
azure-mgmt-managementgroupsProvides a Python client library to manage…
permissive · top 5,000 on PyPI
azure-mgmt-streamanalyticsProvides Python client library for managing…
permissive · top 15,000 on PyPI
azure-mgmt-managementpartnerProvides a Python client library for managing…
unclear · top 5,000 on PyPI
azure-mgmt-botserviceProvides Python bindings to manage Azure Bot…
permissive · top 5,000 on PyPI