skillfed

azure-mgmt-datamigration

Microsoft Azure Data Migration Client Library for Python

azure-mgmt-datamigration v10.1.0 6.8M downloads/30d#1,856 on PyPI5,588
Permissive license MIT License Active released

What it is and what it does

This is the official Microsoft Azure SDK client library for managing data migrations within Azure. It provides programmatic control over migration projects, tasks, and services that orchestrate moving databases from on-premises or other cloud sources (SQL Server, MySQL, PostgreSQL, MongoDB, Oracle) to Azure targets. The package wraps Azure Resource Manager APIs and handles authentication via Azure Active Directory, requiring environment variables for credentials and subscription ID.

The library is used to create and manage migration services, define source and target connection details, configure migration tasks, monitor progress, and handle schema and data synchronization. It supports both offline and online migration patterns. Version 10.1.0 adds operation groups for SQL migrations, MongoDB-to-Cosmos migrations, and enhanced connection properties for multiple database engines.

Use it for:

  • Automate SQL Server database migrations to Azure SQL Database or SQL Managed Instance at scale.
  • Orchestrate MySQL or PostgreSQL migrations to Azure Database for MySQL/PostgreSQL with online sync capability.
  • Manage MongoDB-to-Cosmos DB migrations with different pricing models.
  • Programmatically monitor and control long-running migration tasks from a Python application.
  • Integrate database migration workflows into CI/CD pipelines or infrastructure-as-code deployments.

Worth the install?

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

Manages Azure Data Migration resources and orchestrates database migration tasks across SQL Server, MySQL, PostgreSQL, MongoDB, and Oracle sources to Azure targets.

Yes. This is the official Azure SDK for data migration management, actively maintained, permissively licensed, and required if you need to programmatically orchestrate or monitor database migrations to Azure. Install friction is low and no known vulnerabilities. Suitable for production use if your migration workload targets Azure.

Install

azure-mgmt-datamigration on PyPI

pip

pip install azure-mgmt-datamigration

uv

uv add azure-mgmt-datamigration

poetry

poetry add azure-mgmt-datamigration

Installing azure-mgmt-datamigration

Before you install

Low friction install with four lightweight runtime dependencies. Actively maintained with recent releases; last commit 2026-08-14. Supports current Python versions and classified as Production/Stable.

License in practice

MIT License permits commercial and private use with minimal restrictions—suitable for most projects.

Quickstart

pip install azure-mgmt-datamigration

from azure.mgmt.datamigration import DataMigrationManagementClient
from azure.identity import DefaultAzureCredential
import os

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

Requires Python 3.9+, Azure subscription, and environment variables AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, and AZURE_SUBSCRIPTION_ID configured for authentication.

Verify before relying

  • Whether operation groups added in 10.1.0 are production-ready or still in preview.
  • Performance characteristics and scalability limits for concurrent migration tasks.
  • Whether encrypted_key_for_secure_fields properties require additional key management infrastructure.
  • Specific Azure target service compatibility and version requirements beyond the client library itself.

Package facts

License MIT License (permissive)
Python support supports the current Python release (>=3.9)
Install friction low — pure-Python wheel
Runtime dependencies 4 — isodate, typing-extensions, azure-common, azure-mgmt-core
Maintenance actively maintained — 326 days since the last release
Last repo commit
First released
Downloads 6,751,978/month — #1,856 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: azure_mgmt_datamigration-10.1.0-py3-none-any.whl

Keywords: azure, azure sdk

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.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9

Tags

azure data migration clientdatabase migration to azuresql server migration azureazure migration managementdatabase migration orchestrationazure sdk data migrationmanaged database migrationmigration task automation
azure-sdkdatabase-migrationcloud-management

More Database packages

psycopg2-binary

psycopg2-binary is a PostgreSQL database…

copyleft · top 1,000 on PyPI

redis

Python client library for connecting to and…

permissive · top 1,000 on PyPI

ydb

YDB Python SDK is the official client library…

permissive · top 1,000 on PyPI

snowflake-connector-python

Connects Python applications to Snowflake data…

permissive · top 1,000 on PyPI

sqlparse

sqlparse tokenizes SQL text into a tree of…

permissive · top 1,000 on PyPI

dbt-adapters

Provides base adapter protocols and shared…

permissive · top 1,000 on PyPI

azure-mgmt-mysqlflexibleservers

Provides a Python client library for managing…

unclear · top 5,000 on PyPI

azure-mgmt-sql

Provides programmatic management of Azure SQL…

permissive · top 5,000 on PyPI

azure-mgmt-resource-deployments

Manages Azure resource deployments…

permissive · top 5,000 on PyPI

azure-mgmt-managedservices

Provides Python client library for managing…

unclear · top 15,000 on PyPI

azure-mgmt-sqlvirtualmachine

Manages SQL Server virtual machines in…

permissive · top 5,000 on PyPI

azure-mgmt-web

Provides programmatic management of Azure Web…

permissive · top 5,000 on PyPI

azure-mgmt-datafactory

Manages Azure Data Factory resources—factories,…

permissive · top 5,000 on PyPI

azure-mgmt-batch

Provides a Python client library for managing…

unclear · top 5,000 on PyPI

azure-mgmt-managementpartner

Provides a Python client library for managing…

unclear · top 5,000 on PyPI

azure-mgmt-resource-deploymentscripts

Provides a Python client library for managing…

permissive · top 5,000 on PyPI