--- id: azure-mgmt-datamigration version: "10.1.0" license: MIT License license_treatment: permissive maintenance: active --- # azure-mgmt-datamigration — Microsoft Azure Data Migration Client Library for Python License: permissive · Maintenance: active · Downloads: 6.8M/mo ## 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 above — 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 pip install azure-mgmt-datamigration uv add azure-mgmt-datamigration 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_current - Install friction: low - Maintenance: active - Downloads: 6.8M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags azure data migration client, database migration to azure, sql server migration azure, azure migration management, database migration orchestration, azure sdk data migration, managed database migration, migration task automation, azure-sdk, database-migration, cloud-management [View on SkillFed](https://skillfed.io/packages/azure-mgmt-datamigration) · [View on PyPI](https://pypi.org/project/azure-mgmt-datamigration/)