Skills Azure Bot Service Management SDK for Python
📦

Azure Bot Service Management SDK for Python

Safe 🔑 Env variables

Manage Azure Bot Service with Python SDK

Deploying and managing conversational AI bots on Azure requires complex configuration across multiple services. This skill streamlines bot creation, channel setup, and OAuth connections using the official Azure Management SDK for Python.

Supports: Claude Codex Code(CC)
📊 69 Adequate
1

Download the skill ZIP

2

Upload in Claude

Go to Settings → Capabilities → Skills → Upload skill

3

Toggle on and start using

Test it

Using "Azure Bot Service Management SDK for Python". Create a new Azure Bot in resource group 'demo-rg' with F0 SKU

Expected outcome:

Bot created: demo-chat-bot
Location: global
SKU: F0 (Free tier)
Endpoint configured: https://demo-chat-bot.azurewebsites.net/api/messages

Using "Azure Bot Service Management SDK for Python". List all channels for bot 'customer-service-bot'

Expected outcome:

Configured channels:
- DirectLineChannel: Enabled (v3 API)
- WebChatChannel: Enabled (Default Site)
- MsTeamsChannel: Enabled

Using "Azure Bot Service Management SDK for Python". Get OAuth connections for bot 'hr-assistant'

Expected outcome:

Connection: graph-api
Provider: Microsoft Graph
Scopes: User.Read, Calendar.Read
Status: Active

Security Audit

Safe
v1 • 2/25/2026

This is a documentation-only skill providing instructional content for Azure Bot Service Management SDK. Static analysis found 0 files with executable code and 0 security issues. The skill teaches legitimate cloud resource management patterns using official Azure SDK. Environment variable usage shown is for standard Azure authentication configuration.

0
Files scanned
0
Lines analyzed
1
findings
1
Total audits

Risk Factors

Audited by: claude

Quality Score

38
Architecture
100
Maintainability
87
Content
30
Community
100
Security
74
Spec Compliance

What You Can Build

DevOps Engineer Deploying Bots

Automate bot resource provisioning and channel configuration as part of CI/CD pipelines using Python scripts.

Developer Testing Bot Integrations

Quickly create test bot instances with various channel configurations for development and testing workflows.

Cloud Administrator Managing Bot Fleet

Inventory and manage multiple bot services across subscriptions with consistent configuration policies.

Try These Prompts

Create a Basic Bot
Create an Azure Bot Service resource named 'customer-support-bot' in the free tier with endpoint 'https://myapp.azurewebsites.net/api/messages'. Use the resource group 'bot-resources' and display name 'Customer Support Assistant'.
Configure Multiple Channels
Set up Direct Line and Web Chat channels for the bot 'sales-assistant-bot'. Enable the Direct Line site for v3 API and create a default Web Chat site.
Configure OAuth for User Authentication
Create an OAuth connection named 'graph-api' for bot 'hr-assistant' with scopes for User.Read and Calendar.Read. Use the service provider ID for Microsoft Graph integration.
Audit Bot Resources Across Subscription
List all Azure Bot Service resources in my subscription and show which resource groups contain bots. For each bot, display its name, SKU tier, and configured channels.

Best Practices

  • Use DefaultAzureCredential for authentication and store secrets in Azure Key Vault
  • Start with F0 SKU for development and upgrade to S1 for production workloads
  • Enable only required channels to minimize security exposure and manage complexity

Avoid

  • Do not embed client secrets or connection keys directly in code or configuration files
  • Avoid enabling all available channels without evaluating security and compliance requirements
  • Do not skip rotating Direct Line channel keys on a regular schedule

Frequently Asked Questions

What Azure subscription permissions are required to use this skill?
You need Contributor or Bot Service Contributor role on the target resource group, plus registration permissions for the Microsoft.BotService resource provider.
Can I use this skill to migrate bots between subscriptions?
This skill manages individual bot resources but does not support direct migration. Export bot configuration and recreate in the target subscription.
What is the difference between F0 and S1 SKU tiers?
F0 is free with message rate limits suitable for development. S1 supports unlimited messages and production workloads with higher scale limits.
How do I configure my bot for Microsoft Teams deployment?
Use the MsTeamsChannel configuration to enable Teams integration. You must also register the bot with the Teams manifest and deploy through Teams Admin Center.
What authentication method should I use for automation scripts?
Use DefaultAzureCredential which supports multiple auth methods including managed identity, environment credentials, and Azure CLI authentication.
How often should I rotate Direct Line channel keys?
Rotate Direct Line keys every 90 days or when personnel with access change. Generate new keys before disabling old ones to avoid service disruption.

Developer Details

File structure

📄 SKILL.md