--- id: azure-mgmt-botservice version: "2.0.0" license: MIT License license_treatment: permissive maintenance: active --- # azure-mgmt-botservice — Microsoft Azure Bot Service Client Library for Python License: permissive · Maintenance: active · Downloads: 5.1M/mo ## What it is and what it does This is the official Microsoft Azure SDK for managing Bot Service resources in Python. It wraps Azure's REST API into Python classes and methods, letting you programmatically create, configure, and manage bots, channels (Teams, Slack, Facebook, etc.), connections, and related infrastructure. The package depends on msrest for HTTP communication, azure-common for shared Azure SDK utilities, azure-mgmt-core for management plane specifics, and typing-extensions for type hints. Version 2.0.0 added significant new operation groups (Email, PrivateEndpointConnections, PrivateLinkResources, QnAMaker keys) and expanded model properties across channels and bot configurations. The package targets Python 3.7+ and is classified as Beta. Authentication requires proper credential configuration through environment variables. Use it for: - Automate bot deployment and configuration across multiple Azure subscriptions or environments. - Programmatically enable or configure communication channels (Teams, Slack, Facebook, Direct Line) for existing bots. - Build infrastructure-as-code tools that manage bot lifecycle, scaling, and monitoring. - Integrate bot provisioning into CI/CD pipelines or multi-tenant SaaS platforms. - Query and manage bot connection settings and authentication credentials at scale. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides Python bindings to manage Azure Bot Service resources—bots, channels, connections, and related operations—through Azure's REST API. Yes, if you need to manage Azure Bot Service resources from Python code. The package is actively maintained, has no known vulnerabilities, uses a permissive MIT License, and integrates with the broader Azure SDK ecosystem. The main requirement is a working Azure subscription and proper credential configuration; without those, the package cannot be used. For teams already committed to Azure, this is the standard choice. ## Install pip install azure-mgmt-botservice uv add azure-mgmt-botservice poetry add azure-mgmt-botservice ## Installing azure-mgmt-botservice Before you install: Low friction install with four straightforward runtime dependencies. The package is actively maintained; the repository shows recent activity and the project remains current. Requires Python 3.7 or later. License in practice: MIT License permits commercial and private use with minimal restrictions, making it safe for most production scenarios. Quickstart: pip install azure-mgmt-botservice from azure.mgmt.botservice import AzureBotService from msrest.authentication import BasicAuthentication import os sub_id = os.getenv("AZURE_SUBSCRIPTION_ID") client = AzureBotService(credential=BasicAuthentication("", ""), subscription_id=sub_id) Requires Azure subscription and authentication credentials (AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET, AZURE_SUBSCRIPTION_ID) configured as environment variables. Verify before relying: - Whether the package's API surface covers all current Azure Bot Service features or if some operations require direct REST calls. - Performance characteristics and rate-limiting behavior when managing large numbers of bots or channels. - Recommended credential setup patterns beyond environment variables for production deployments. ## Package facts - License: MIT License (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 5.1M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags azure bot service management, azure sdk bot management, python azure bots, azure chatbot provisioning, azure bot channel configuration, azure bot resource api, manage azure bots python, azure-sdk, bot-management, cloud-infrastructure [View on SkillFed](https://skillfed.io/packages/azure-mgmt-botservice) · [View on PyPI](https://pypi.org/project/azure-mgmt-botservice/)