skillfed

azure-graphrbac

Microsoft Azure Graph RBAC Client Library for Python

azure-graphrbac v0.61.2 5.1M downloads/30d#2,158 on PyPI5,588
Permissive license MIT License Active released

What it is and what it does

Azure-graphrbac is a Python client library for managing Azure Active Directory resources through the Microsoft Graph RBAC API. It provides object models and operations for working with users, groups, applications, service principals, and other directory objects in Azure AD.

The package is built on msrest and msrestazure for HTTP communication and Azure authentication. However, it has been deprecated and will no longer receive feature updates or maintenance after 10-31-2024; only security fixes are provided until that date. Microsoft recommends migrating to the MS Graph SDK for Python instead.

Use it for:

  • Programmatically list and query Azure AD users, groups, and applications in an existing codebase that predates the MS Graph SDK
  • Manage application registrations and service principals in Azure AD via Python automation scripts
  • Restore deleted applications or manage group ownership within a legacy Azure management workflow
  • Perform directory object lookups and membership checks in older Azure-integrated systems

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Manages Azure Active Directory graph resources (users, groups, applications, service principals) through the Azure Graph RBAC API, but this package is deprecated as of 10-31-2024 and will receive only security fixes.

No. The package is deprecated as of 10-31-2024 and will receive no further maintenance beyond security fixes. New projects should use the MS Graph SDK for Python instead. Only consider installing if you are maintaining existing code that already depends on it and cannot migrate immediately.

Install

azure-graphrbac on PyPI

pip

pip install azure-graphrbac

uv

uv add azure-graphrbac

poetry

poetry add azure-graphrbac

Installing azure-graphrbac

Before you install

Low install friction with four stable Azure SDK dependencies. However, the package entered inactive status on 10-31-2024 and will no longer be maintained; only security fixes are provided until that date has passed.

License in practice

MIT License permits commercial and private use with minimal restrictions, making it safe from a licensing standpoint for new projects, though the deprecation status is a stronger concern.

Quickstart

pip install azure-graphrbac

from azure.graphrbac import GraphRbacManagementClient
from msrestazure.azure_active_directory import UserPassCredentials

credentials = UserPassCredentials(username, password)
client = GraphRbacManagementClient(credentials, tenant_id)

Requires Azure Active Directory tenant credentials and tenant ID; deprecated as of 10-31-2024 with no future maintenance planned.

Verify before relying

  • Whether security fixes are still being applied after 10-31-2024 or if the package is now in complete maintenance freeze
  • Migration path and feature parity between this package and the recommended MS Graph SDK for Python

Package facts

License MIT License (permissive)
Python support not specified
Install friction low — pure-Python wheel
Runtime dependencies 4 — msrest, msrestazure, azure-common, azure-nspkg
Maintenance actively maintained — 652 days since the last release
Last repo commit
First released
Downloads 5,144,070/month — #2,158 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: azure_graphrbac-0.61.2-py2.py3-none-any.whl

Keywords: azure, azure sdk

Development Status :: 7 - InactiveLicense :: OSI Approved :: MIT LicenseProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Tags

azure active directory managementazure graph rbacazure ad users groupsazure service principalsazure directory objectsazure rbac client
deprecatedazure-sdkactive-directory

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

Manages Azure Batch AI resources (clusters,…

permissive · top 5,000 on PyPI

azure-mgmt-scheduler

Provides Python bindings to manage Azure…

permissive · top 5,000 on PyPI

azure-mgmt-notificationhubs

Manages Azure Notification Hubs…

permissive · top 5,000 on PyPI

msrestazure

Provides HTTP client runtime and Azure…

permissive · top 1,000 on PyPI

azure-mgmt-resourcegraph

Provides a Python client library to query and…

unclear · top 5,000 on PyPI

azure-mgmt-trafficmanager

Provides a Python client library to manage…

permissive · top 5,000 on PyPI

azure-mgmt-datalake-store

Manages Azure Data Lake Store accounts,…

permissive · top 5,000 on PyPI

msgraph-core

Provides core HTTP client infrastructure for…

permissive · top 5,000 on PyPI

azure-mgmt-iothubprovisioningservices

Manages Azure IoT Hub Provisioning Services…

permissive · top 5,000 on PyPI

msgraph-beta-sdk

Provides async-first Python bindings to the…

unclear · top 15,000 on PyPI