azure-mgmt-botservice
Microsoft Azure Bot Service Client Library for Python
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 on this page — 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
azure-mgmt-botservice on PyPI
pip
pip install azure-mgmt-botserviceuv
uv add azure-mgmt-botservicepoetry
poetry add azure-mgmt-botserviceInstalling 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 the current Python release (>=3.7) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 4 — msrest, azure-common, azure-mgmt-core, typing-extensions |
| Maintenance | actively maintained — 1,305 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 5,112,046/month — #2,166 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: azure_mgmt_botservice-2.0.0-py3-none-any.whl
Keywords: azure, azure sdk
Tags
More Application Frameworks packages
FastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
textualTextual is a Python framework for building…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
mcpBuild and connect to Model Context Protocol…
permissive · top 1,000 on PyPI
WerkzeugWerkzeug is a WSGI utility library providing…
permissive · top 1,000 on PyPI
azure-mgmt-networkManages Azure network resources (virtual…
permissive · top 5,000 on PyPI
azure-mgmt-managementpartnerProvides a Python client library for managing…
unclear · top 5,000 on PyPI
azure-mgmt-managedservicesProvides Python client library for managing…
unclear · top 15,000 on PyPI
azure-mgmt-resource-subscriptionsManages Azure subscriptions and related…
permissive · top 15,000 on PyPI
azure-mgmt-apimanagementProvides Python client library for managing…
permissive · top 5,000 on PyPI
azure-mgmt-servicelinkerManages Azure Service Linker resources through…
permissive · top 5,000 on PyPI
azure-mgmt-recoveryservicesProvides Python bindings to manage Azure…
permissive · top 5,000 on PyPI
azure-mgmt-subscriptionProvides Python client library for managing…
permissive · top 5,000 on PyPI
azure-mgmt-resource-deploymentscriptsProvides a Python client library for managing…
permissive · top 5,000 on PyPI
botbuilder-coreProvides the core SDK for building bots that…
permissive · top 5,000 on PyPI