--- id: azure-mgmt-managementgroups version: "2.0.0" license: MIT license_treatment: permissive maintenance: active --- # azure-mgmt-managementgroups — Microsoft Azure Managementgroups Management Client Library for Python License: permissive · Maintenance: active · Downloads: 7.3M/mo ## 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 above — 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 pip install azure-mgmt-managementgroups uv add azure-mgmt-managementgroups 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_current - Install friction: low - Maintenance: active - Downloads: 7.3M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags azure management groups client, azure sdk python management, manage azure subscriptions, azure resource hierarchy, azure tenant organization, azure-sdk, cloud-management [View on SkillFed](https://skillfed.io/packages/azure-mgmt-managementgroups) · [View on PyPI](https://pypi.org/project/azure-mgmt-managementgroups/)