azure-mgmt-managementgroups
Microsoft Azure Managementgroups Management Client Library for Python
What it is and what it does
This is the official Microsoft Azure SDK client library for managing Azure Management Groups in Python. It provides programmatic access to organize subscriptions and resources within a tenant through a Python interface. The library handles authentication through Microsoft Entra and abstracts REST API calls into Python objects and methods.
Version 2.0.0 is a major release with breaking changes, including renamed client classes and restructured data models to use hybrid dictionary/object patterns. It requires Python 3.10 or later and depends on azure-mgmt-core for common Azure SDK functionality, isodate for date handling, and typing-extensions for type hints. The package is part of the broader Azure SDK for Python ecosystem and is actively maintained.
Use it for:
- Organize and manage Azure subscriptions programmatically by creating and updating management group hierarchies.
- Automate Azure governance tasks across multiple subscriptions at once.
- Query the structure of management groups and subscriptions to audit tenant organization.
- Integrate Azure resource management into Python automation or infrastructure-as-code workflows.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides a Python client library to manage Azure Management Groups—organizational containers for subscriptions and resources within an Azure tenant.
Yes. This is the official, actively maintained Microsoft SDK for Azure Management Groups in Python. It has low install friction, no known vulnerabilities, permissive licensing, and is suitable for any Python project that needs to programmatically manage Azure subscriptions and organizational hierarchy. Version 2.0.0 introduces breaking changes, so verify migration requirements if upgrading from earlier versions.
Install
azure-mgmt-managementgroups on PyPI
pip
pip install azure-mgmt-managementgroupsuv
uv add azure-mgmt-managementgroupspoetry
poetry add azure-mgmt-managementgroupsInstalling azure-mgmt-managementgroups
Before you install
Low install friction with three lightweight runtime dependencies. The package is actively maintained, released 46 days ago, and supports current Python versions (3.10+). No known vulnerabilities.
License in practice
MIT license permits free use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.
Quickstart
pip install azure-mgmt-managementgroups
from azure.mgmt.managementgroups import ManagementGroupsMgmtClient
from azure.identity import DefaultAzureCredential
client = ManagementGroupsMgmtClient(credential=DefaultAzureCredential())
Requires Python 3.10+. Azure authentication credentials must be configured via environment variables (AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET).
Verify before relying
- Specific API operations available beyond client instantiation (list, get, create, delete, update patterns).
- Whether hybrid model migration from earlier versions affects existing code using this package.
- Performance characteristics and rate limits when managing large numbers of management groups.
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 — 46 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 7,321,791/month — #1,754 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: azure_mgmt_managementgroups-2.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-appcontainersProvides a Python client library for managing…
permissive · top 5,000 on PyPI
azure-mgmt-resourceProvides Python bindings to manage Azure…
permissive · top 1,000 on PyPI
azure-mgmt-storageManages Azure Storage accounts, containers,…
permissive · top 5,000 on PyPI
azure-mgmt-resource-subscriptionsManages Azure subscriptions and related…
permissive · top 15,000 on PyPI
azure-mgmt-loganalyticsProvides a Python client library for managing…
permissive · top 5,000 on PyPI
azure-mgmt-batchProvides a Python client library for managing…
unclear · top 5,000 on PyPI
azure-mgmt-reservationsManages Azure Reservations and Savings Plans…
permissive · top 5,000 on PyPI
azure-mgmt-servicefabricmanagedclustersManages Azure Service Fabric Managed Clusters…
unclear · top 5,000 on PyPI
azure-mgmt-resource-deploymentstacksManages Azure Resource Deployment…
unclear · top 5,000 on PyPI
azure-mgmt-servicebusManages Azure Service Bus resources…
permissive · top 5,000 on PyPI