skillfed

azure-mgmt-managementgroups

Microsoft Azure Managementgroups Management Client Library for Python

azure-mgmt-managementgroups v2.0.0 7.3M downloads/30d#1,754 on PyPI5,588
Permissive license MIT Active released

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-managementgroups

uv

uv add azure-mgmt-managementgroups

poetry

poetry add azure-mgmt-managementgroups

Installing 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

Development Status :: 5 - Production/StableProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14

Tags

azure management groups clientazure sdk python managementmanage azure subscriptionsazure resource hierarchyazure tenant organization
azure-sdkcloud-management

More Software Development packages

typing-extensions

Provides backported and experimental type hints…

permissive · top 100 on PyPI

numpy

NumPy provides an N-dimensional array object…

permissive · top 100 on PyPI

fastapi

FastAPI is a Python web framework for building…

permissive · top 100 on PyPI

annotated-doc

Provides a way to document function parameters,…

permissive · top 100 on PyPI

typer

Typer builds command-line applications from…

permissive · top 1,000 on PyPI

distlib

Distlib provides low-level packaging utilities…

permissive · top 1,000 on PyPI

azure-mgmt-appcontainers

Provides a Python client library for managing…

permissive · top 5,000 on PyPI

azure-mgmt-resource

Provides Python bindings to manage Azure…

permissive · top 1,000 on PyPI

azure-mgmt-storage

Manages Azure Storage accounts, containers,…

permissive · top 5,000 on PyPI

azure-mgmt-resource-subscriptions

Manages Azure subscriptions and related…

permissive · top 15,000 on PyPI

azure-mgmt-loganalytics

Provides a Python client library for managing…

permissive · top 5,000 on PyPI

azure-mgmt-batch

Provides a Python client library for managing…

unclear · top 5,000 on PyPI

azure-mgmt-reservations

Manages Azure Reservations and Savings Plans…

permissive · top 5,000 on PyPI

azure-mgmt-servicefabricmanagedclusters

Manages Azure Service Fabric Managed Clusters…

unclear · top 5,000 on PyPI

azure-mgmt-resource-deploymentstacks

Manages Azure Resource Deployment…

unclear · top 5,000 on PyPI

azure-mgmt-servicebus

Manages Azure Service Bus resources…

permissive · top 5,000 on PyPI