azure-mgmt-botservice-dotnet

Provision and manage Azure Bot Service resources with the .NET SDK.

Updated Apr 12, 2026
One-click install
npx skills add https://github.com/davidrrowley/CortexYouV3 --skill azure-mgmt-botservice-dotnet
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: azure-mgmt-botservice-dotnet
Source: https://github.com/davidrrowley/CortexYouV3/tree/main/.agents/skills/azure-mgmt-botservice-dotnet
Command: npx skills add https://github.com/davidrrowley/CortexYouV3 --skill azure-mgmt-botservice-dotnet

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Provides clear, actionable guidance and examples to provision and manage Azure Bot Service resources programmatically using the Azure Resource Manager SDK for .NET, removing friction from bot creation, channel configuration, key regeneration, and lifecycle operations.

Core Features & Use Cases

  • Provisioning and lifecycle: Create, update, and delete Bot resources within a subscription and resource group context.
  • Channel management: Configure DirectLine, Microsoft Teams, Web Chat, Slack, and other channels and list or enumerate channel configurations.
  • Security and keys: Regenerate DirectLine keys and manage OAuth connection settings; recommends DefaultAzureCredential and managed identities for production.
  • Integration scenarios: Use with ASP.NET Core bot integrations and CI/CD pipelines to automate bot deployments and environment setup.

Quick Start

Create a new Azure Bot named myBotName in your resource group, enable DirectLine and Teams channels, and regenerate the DirectLine keys using the Azure.ResourceManager.BotService .NET SDK.

Frequently Asked Questions about azure-mgmt-botservice-dotnet

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create an Azure Bot resource programmatically using .NET?

You can provision an Azure Bot resource in .NET using the Azure Resource Manager BotService SDK. Create a bot within a subscription and resource group context, then configure channels like DirectLine and Teams through asynchronous ARM operations.

What's the best way to configure DirectLine and Teams channels for an Azure Bot in C#?

The Azure.ResourceManager.BotService .NET SDK supports configuring DirectLine and Microsoft Teams channels. You apply channel management properties to your bot resource and execute asynchronous ARM operations to update the configuration.

How do I regenerate DirectLine keys for an Azure Bot using the .NET SDK?

Regenerate DirectLine keys by calling the key regeneration methods provided by the Azure.ResourceManager.BotService NuGet package. The SDK handles this asynchronously within your resource group context, returning the new key values.

Do I need DefaultAzureCredential to manage Azure Bot Service resources in .NET?

Yes, authentication via DefaultAzureCredential is required to manage Azure Bot Service resources in .NET. It establishes the necessary subscription and resource group context for asynchronous ARM operations, and managed identities are recommended for production.

How does the .NET SDK handle errors when provisioning Azure Bot Service resources?

The .NET SDK handles provisioning errors by throwing RequestFailedException. You must implement exception handling for RequestFailedException to manage failures during asynchronous ARM operations for Azure Bot Service resources.

Can I manage OAuth connection settings for an Azure Bot using .NET?

Yes, you can manage OAuth connection settings for an Azure Bot using the Azure Resource Manager SDK for .NET. The SDK allows you to configure and update these security settings within your subscription and resource group context.