--- id: azure-mgmt-desktopvirtualization version: "2.0.0" license: MIT License license_treatment: permissive maintenance: active --- # azure-mgmt-desktopvirtualization — Microsoft Azure Desktop Virtualization Management Client Library for Python License: permissive · Maintenance: active · Downloads: 123.4K/mo ## What it is and what it does This is the official Microsoft Azure SDK for managing Desktop Virtualization resources in Python. It provides a client library (DesktopVirtualizationMgmtClient) that wraps Azure's control-plane API for host pools, application groups, workspaces, scaling plans, and session hosts. You use it to programmatically create, read, update, and delete these resources within an Azure subscription. The package depends on azure-common and azure-mgmt-core for shared Azure SDK infrastructure, plus isodate and typing-extensions for date handling and type hints. Version 2.0.0 added app-attach package management and private endpoint support. The library is production-stable, actively maintained, and supports Python 3.8 and later. Use it for: - Automate provisioning and configuration of Azure Virtual Desktop host pools and application groups as part of infrastructure-as-code workflows. - Build management dashboards or monitoring tools that query session host status, workspace properties, and scaling plan metrics. - Implement custom scaling logic by reading and updating scaling plan configurations programmatically. - Manage app-attach packages and their deployment to host pools in bulk operations. - Integrate Azure Virtual Desktop resource management into CI/CD pipelines for environment setup and teardown. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Manages Azure Desktop Virtualization resources (host pools, application groups, workspaces, scaling plans) via Python, providing a client library for Azure control-plane operations. Yes. This is the official, actively maintained Azure SDK for Desktop Virtualization management. Install it if you need to manage Azure Virtual Desktop resources programmatically—it has low friction, permissive licensing, no known vulnerabilities, and production-stable status. Prerequisite: Python 3.8+, Azure subscription, and proper credential configuration. ## Install pip install azure-mgmt-desktopvirtualization uv add azure-mgmt-desktopvirtualization poetry add azure-mgmt-desktopvirtualization ## Installing azure-mgmt-desktopvirtualization Before you install: Low install friction with four lightweight runtime dependencies. Actively maintained with recent releases; repository shows 5588 stars and last commit on 2026-08-14. Supports Python 3.8 through 3.12. License in practice: MIT License (permissive) allows commercial and private use with minimal restrictions—suitable for most production scenarios. Quickstart: pip install azure-mgmt-desktopvirtualization from azure.mgmt.desktopvirtualization import DesktopVirtualizationMgmtClient from azure.common import AzureHttpError import os sub_id = os.getenv("AZURE_SUBSCRIPTION_ID") client = DesktopVirtualizationMgmtClient( credential=credential, subscription_id=sub_id ) Requires Python 3.8+, Azure subscription, and Azure Active Directory credentials configured via environment variables (AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, AZURE_SUBSCRIPTION_ID). Verify before relying: - Whether the operation groups added in 2.0.0 (app_attach_package, app_attach_package_info) are fully documented with usage examples. - Performance characteristics when managing large numbers of resources or concurrent operations. - Which credential authentication methods are supported beyond the default token-based flow. ## Package facts - License: MIT License (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 123.4K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags azure desktop virtualization management, azure virtual desktop client library, azure avd management python, azure host pool management, azure workspace provisioning, azure scaling plan api, azure session host control, azure-sdk, cloud-management, infrastructure-as-code [View on SkillFed](https://skillfed.io/packages/azure-mgmt-desktopvirtualization) · [View on PyPI](https://pypi.org/project/azure-mgmt-desktopvirtualization/)