skillfed

azure-mgmt-automation

Microsoft Azure Automation Management Client Library for Python

azure-mgmt-automation v2.0.0 409.7K downloads/30d#6,869 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 Automation accounts and their resources programmatically from Python. It wraps the Azure Resource Manager API for Automation, exposing models and operations for runbooks, schedules, jobs, hybrid runbook workers, packages, and related infrastructure. The library handles authentication via Microsoft Entra and provides operation groups for each major resource type.

Typical usage involves instantiating an AutomationClient with credentials and a subscription ID, then calling methods on operation groups to create, read, update, or delete automation resources. Version 2.0.0 adds support for new resource types (private endpoints, runtime environments, Python 3 packages) and expanded runbook types. The package is tested against Python 3.10+ and depends on azure-mgmt-core, isodate, and typing-extensions.

Use it for:

  • Programmatically create and manage runbooks and schedules in Azure Automation accounts from CI/CD pipelines
  • Monitor and query automation job execution status and results across multiple accounts
  • Manage hybrid runbook worker groups and worker registration for on-premises automation
  • Deploy Python packages and runtime environments to Azure Automation for Python-based runbooks
  • Automate lifecycle management of automation account resources (certificates, connections, variables)

Worth the install?

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

Provides Python client library for managing Azure Automation resources including runbooks, schedules, jobs, and hybrid workers via the Azure Resource Manager API.

Yes. This is the official Azure SDK for Automation management in Python, actively maintained with recent updates, no known vulnerabilities, and permissive MIT licensing. Install if you need to manage Azure Automation resources programmatically. Requires Python 3.10+ and Azure credentials configured; these are standard prerequisites for Azure SDK usage.

Install

azure-mgmt-automation on PyPI

pip

pip install azure-mgmt-automation

uv

uv add azure-mgmt-automation

poetry

poetry add azure-mgmt-automation

Installing azure-mgmt-automation

Before you install

Low install friction with a pure-Python wheel. Actively maintained with recent release (16 days old) and active repository status. Requires Python 3.10+; three lightweight runtime dependencies (isodate, azure-mgmt-core, typing-extensions).

License in practice

MIT license permits commercial and private use with minimal restrictions, making it suitable for most production environments.

Quickstart

pip install azure-mgmt-automation

from azure.mgmt.automation import AutomationClient
from azure.identity import DefaultAzureCredential
import os

sub_id = os.getenv("AZURE_SUBSCRIPTION_ID")
client = AutomationClient(credential=DefaultAzureCredential(), subscription_id=sub_id)

Requires Python 3.10+. Azure authentication credentials must be configured via environment variables: AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, and AZURE_SUBSCRIPTION_ID.

Verify before relying

  • Specific API coverage and completeness relative to current Azure Automation service capabilities
  • Performance characteristics under high-volume automation account operations
  • Backward compatibility guarantees or migration path for code written against earlier versions

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 — 16 days since the last release
Last repo commit
First released
Downloads 409,684/month — #6,869 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: azure_mgmt_automation-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 automation managementazure runbook clientazure automation sdkmanage azure automation accountsazure hybrid runbook workersazure automation python clientazure job scheduling
azure-sdkcloud-managementautomation

More Distributed Computing packages