skillfed

pulumi-azuread

A Pulumi package for creating and managing Azure Active Directory (Azure AD) cloud resources.

pulumi-azuread v6.10.0 372.3K downloads/30d#7,164 on PyPI22
Permissive license Apache-2.0 Active released

What it is and what it does

Pulumi-azuread is a Pulumi resource provider that bridges Python code to Azure Active Directory, letting you declare and manage Azure AD objects (users, groups, applications, service principals) as infrastructure-as-code. It wraps the Azure AD API and integrates with Pulumi's state management and deployment workflow, so you can version-control your identity infrastructure alongside other cloud resources.

You write Python code using the provider's resource classes, configure Azure credentials through environment variables or Pulumi config, and run `pulumi up` to create or update resources. The package depends on pulumi (the core framework), parver and semver (for version handling), and typing-extensions (for type hints). It requires Python 3.9 or later and the Pulumi CLI to be installed separately.

Use it for:

  • Provision and manage Azure AD users, groups, and role assignments as part of automated infrastructure deployment.
  • Define Azure AD applications and service principals for multi-tenant SaaS or enterprise integrations in code.
  • Replicate Azure AD resources across multiple environments (dev, staging, production) using the same Pulumi program.
  • Integrate Azure AD resource management into CI/CD pipelines for consistent identity governance.
  • Version-control Azure AD configuration changes alongside application and infrastructure code in a single repository.

Worth the install?

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

Pulumi provider for Azure Active Directory that lets you define and manage Azure AD resources (users, groups, applications, service principals) as code using Python.

Yes, if you use Pulumi and need to manage Azure AD resources as code. The package is actively maintained, has low install friction, carries a permissive license, and integrates cleanly with Pulumi's workflow. Install it only after setting up the Pulumi CLI and Azure credentials; it is not a standalone tool.

Install

pulumi-azuread on PyPI

pip

pip install pulumi-azuread

uv

uv add pulumi-azuread

poetry

poetry add pulumi-azuread

Installing pulumi-azuread

Before you install

Low install friction; pure Python wheel with four lightweight runtime dependencies (parver, pulumi, semver, typing-extensions). Actively maintained with a release 35 days old and recent commits.

License in practice

Apache-2.0 permissive license allows use in commercial and open-source projects with minimal restrictions; you must include a copy of the license and state changes.

Quickstart

pip install pulumi-azuread

import pulumi
import pulumi_azuread as azuread

user = azuread.User("example", user_principal_name="user@example.com")

Requires Pulumi CLI installed first and Azure credentials (clientId, tenantId, clientSecret or certificate) configured via environment variables or Pulumi config.

Verify before relying

  • Specific Azure AD resource types supported (users, groups, applications, service principals, etc.) beyond the general claim in the description.
  • Whether version 6.10.0 is compatible with all current Pulumi CLI versions or if there are known version constraints.
  • Performance characteristics or limits when managing large numbers of Azure AD resources.

Package facts

License Apache-2.0 (permissive)
Python support supports the current Python release (>=3.9)
Install friction low — pure-Python wheel
Runtime dependencies 4 — parver, pulumi, semver, typing-extensions
Maintenance actively maintained — 35 days since the last release
Last repo commit
First released
Downloads 372,279/month — #7,164 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: pulumi_azuread-6.10.0-py3-none-any.whl

Keywords: pulumi, azuread

Tags

azure active directory infrastructure as codepulumi azure ad providermanage azure ad with pythonazure ad resource provisioningpulumi azureadcloud resource management azure
infrastructure-as-codeazure-adpulumi-provider

More Build Tools packages