azure-mgmt-authorization
Microsoft Azure Authorization Management Client Library for Python
Decision gist · record as of 2026-08-14
Yes. This is the official Microsoft library for Azure authorization management, actively maintained, with no security vulnerabilities and permissive MIT licensing. Install it if you need to automate or query Azure access control from Python. The only prerequisite is Azure credentials and a subscription; the package itself installs cleanly with no complex dependencies.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Azure subscription and environment variables: AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, AZURE_SUBSCRIPTION_ID.
- Low friction install as a pure Python wheel.
- Active maintenance with last commit 2026-08-14.
License · maintenance · safety
MIT License (permissive) — MIT License permits commercial and private use with minimal restrictions; suitable for most deployment scenarios.
last release 2023-07-25 (1116 days) · last repo commit 2026-08-14 · 5,588 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 9,768,852 downloads/mo, #1,502 on PyPI
Alternatives
Verify before relying
pip install azure-mgmt-authorization
from azure.mgmt.authorization import AuthorizationManagementClient
import os
sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = AuthorizationManagementClient(credential=credential, subscription_id=sub_id)- Whether deny assignments with conditions are fully supported in all Azure environments.
- Performance characteristics when managing large numbers of role assignments or access reviews.
- Compatibility with Azure Government or other sovereign cloud deployments.
- Authentication mechanism and credential handling beyond what the description excerpt covers.
What it is and what it does
This is Microsoft's official Python client library for Azure Authorization Management. It provides programmatic access to Azure's role-based access control system, allowing you to create, read, update, and delete role assignments, manage role definitions, and configure access reviews and privileged identity management settings. The library wraps Azure's REST API and requires authentication via Azure Active Directory.
The package is designed for developers building automation, governance, or compliance tools on Azure. Version 4.0.0 added support for role assignment validation, condition-based permissions, and enhanced alert configuration. The library requires Python 3.7 or later and is actively maintained by Microsoft.
Use it for
- Automate role assignment provisioning and deprovisioning in large Azure tenants.
- Build compliance dashboards that audit who has access to which resources.
- Implement access review workflows and alert configurations programmatically.
- Manage deny assignments and conditional permissions across multiple subscriptions.
- Integrate Azure authorization into custom identity governance platforms.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
This is the official Microsoft library for Azure authorization management, actively maintained, with no security vulnerabilities and permissive MIT licensing. Install it if you need to automate or query Azure access control from Python. The only prerequisite is Azure credentials and a subscription; the package itself installs cleanly with no complex dependencies.
Install
azure-mgmt-authorization on PyPI
Before you install
Low friction install as a pure Python wheel. Active maintenance with last commit 2026-08-14. Supports Python 3.7 through 3.11.
Requires Azure subscription and environment variables: AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, AZURE_SUBSCRIPTION_ID.
License in practice
MIT License permits commercial and private use with minimal restrictions; suitable for most deployment scenarios.
Quickstart
pip install azure-mgmt-authorization
from azure.mgmt.authorization import AuthorizationManagementClient
import os
sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = AuthorizationManagementClient(credential=credential, subscription_id=sub_id)
Verify before relying
- Whether deny assignments with conditions are fully supported in all Azure environments.
- Performance characteristics when managing large numbers of role assignments or access reviews.
- Compatibility with Azure Government or other sovereign cloud deployments.
- Authentication mechanism and credential handling beyond what the description excerpt covers.
Package facts
| License | MIT License permissive |
| Python support | Supports the current Python release >=3.7 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 1,116 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 9,768,852 / month, #1,502 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableLicense :: OSI Approved :: MIT LicenseProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9 |
Evidence: azure_mgmt_authorization-4.0.0-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 role assignments”
- azure-mgmt-authorizationManages Azure role-based access control, role assignments, and…
- azure-keyvault-administrationManages role-based access control, backup, restore, and settings for…
- azure-mgmt-containerregistryManages Azure Container Registry resources—create, update, delete,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Distributed Computing packages
gRPC Python is an HTTP/2-based RPC framework that enables you to define and call remote procedures across network boundaries using protocol buffers for serialization.
Install it if you need RPC communication in a distributed system or are integrating with existing gRPC services.
execnet lets you spawn and communicate with Python interpreters across local processes, remote hosts, and different platforms, using a simple API for task distribution and inter-process messaging.
However, the aging maintenance status (275 days since last release) means you should verify it meets your concurrency and performance needs before committing to a…
Cloudpickle extends Python's standard pickle module to serialize lambda functions, interactively-defined functions and classes, and other constructs that the default pickle cannot handle, making it suitable for cluster computing and remote code execution.
Install it if you need to serialize lambda functions, interactively-defined code, or non-standard Python constructs for cluster computing or distributed execution.
Provides a unified, open()-compatible Python API for streaming large files from remote storage (S3, GCS, Azure, HDFS, SFTP, HTTP) and local filesystems, with transparent compression support.
Install it if you work with large files on cloud storage or remote systems and want to avoid writing boilerplate around multiple SDKs.
Portalocker provides cross-platform file locking with support for exclusive and shared locks, plus Redis-based distributed locks and process-aware PID file locking.
Install it if you need file or process coordination; the optional extras (pywin32, redis) are only required for specific lock types.
Ray is a distributed computing framework that scales Python applications from a single machine to multi-node clusters, providing abstractions for parallel tasks, stateful actors, and shared objects.
See also azure-mgmt-managementpartner · python-redmine · azure-mgmt-msi · azure-mgmt-notificationhubs · azure-mgmt-domainregistration · azure-mgmt-trafficmanager · oso-cloud · azure-mgmt-resource-deployments · azure-mgmt-iotcentral · azure-mgmt-monitor