skillfed

azure-mgmt-botservice

Microsoft Azure Bot Service Client Library for Python

azure-mgmt-botservice v2.0.0 5.1M downloads/30d#2,166 on PyPI5,588
Permissive license MIT License Active released

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-botservice

uv

uv add azure-mgmt-botservice

poetry

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 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

Development Status :: 4 - BetaLicense :: OSI Approved :: MIT LicenseProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Tags

azure bot service managementazure sdk bot managementpython azure botsazure chatbot provisioningazure bot channel configurationazure bot resource apimanage azure bots python
azure-sdkbot-managementcloud-infrastructure

More Application Frameworks packages

fastapi

FastAPI is a Python web framework for building…

permissive · top 100 on PyPI

annotated-doc

Provides a way to document function parameters,…

permissive · top 100 on PyPI

textual

Textual is a Python framework for building…

permissive · top 100 on PyPI

typer

Typer builds command-line applications from…

permissive · top 1,000 on PyPI

mcp

Build and connect to Model Context Protocol…

permissive · top 1,000 on PyPI

Werkzeug

Werkzeug is a WSGI utility library providing…

permissive · top 1,000 on PyPI

azure-mgmt-network

Manages Azure network resources (virtual…

permissive · top 5,000 on PyPI

azure-mgmt-managementpartner

Provides a Python client library for managing…

unclear · top 5,000 on PyPI

azure-mgmt-managedservices

Provides Python client library for managing…

unclear · top 15,000 on PyPI

azure-mgmt-resource-subscriptions

Manages Azure subscriptions and related…

permissive · top 15,000 on PyPI

azure-mgmt-apimanagement

Provides Python client library for managing…

permissive · top 5,000 on PyPI

azure-mgmt-servicelinker

Manages Azure Service Linker resources through…

permissive · top 5,000 on PyPI

azure-mgmt-recoveryservices

Provides Python bindings to manage Azure…

permissive · top 5,000 on PyPI

azure-mgmt-subscription

Provides Python client library for managing…

permissive · top 5,000 on PyPI

azure-mgmt-resource-deploymentscripts

Provides a Python client library for managing…

permissive · top 5,000 on PyPI

botbuilder-core

Provides the core SDK for building bots that…

permissive · top 5,000 on PyPI