azure-resource-manager-sql-dotnet

Provision and manage Azure SQL resources via the Azure Resource Manager API.

2.9k|323|Updated Jan 16, 2026
One-click install
npx skills add https://github.com/microsoft/skills --skill azure-resource-manager-sql-dotnet-microsoft
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: azure-resource-manager-sql-dotnet
Source: https://github.com/microsoft/skills/tree/main/.github/plugins/azure-sdk-dotnet/skills/azure-resource-manager-sql-dotnet
Command: npx skills add https://github.com/microsoft/skills --skill azure-resource-manager-sql-dotnet-microsoft

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

Azure Resource Manager SDK for Azure SQL in .NET. This SDK enables provisioning and lifecycle management of SQL resources (servers, databases, elastic pools, firewall rules, and failover groups) through the Azure Resource Manager API. It is intended for management-plane operations; data-plane tasks (like executing queries) should use dedicated data-plane SDKs such as Microsoft.Data.SqlClient.

Quick Start

Instantiate an ArmClient with DefaultAzureCredential and start creating or updating SQL resources via the Azure.ResourceManager.Sql namespace.

Frequently Asked Questions about azure-resource-manager-sql-dotnet

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

FAQPage Schema
How do I provision Azure SQL databases using .NET and ARM templates?

You can provision Azure SQL databases in .NET by instantiating an ArmClient with DefaultAzureCredential and using the Azure.ResourceManager.Sql namespace to manage servers, databases, and elastic pools via the Azure Resource Manager API.

Can I use this SDK to execute SQL queries against my Azure SQL database?

No, this SDK is intended for management-plane operations like provisioning and lifecycle management. Data-plane tasks such as executing queries require dedicated data-plane SDKs like Microsoft.Data.SqlClient.

What's the best way to manage Azure SQL firewall rules and failover groups in C#?

The best way to manage Azure SQL firewall rules and failover groups in C# is using the Azure.ResourceManager.Sql package, which enables configuring these resources across subscriptions and resource groups through the ARM API.

Does Azure Resource Manager SQL SDK require DefaultAzureCredential for authentication?

Yes, authentication via DefaultAzureCredential is required. You instantiate an ArmClient using this credential to authorize the management-plane operations for your SQL resources in a .NET project.

How do I automate Azure SQL deployments across multiple subscriptions in .NET?

Automate Azure SQL deployments across subscriptions by applying the Azure.ResourceManager.Sql SDK to manage resources programmatically, enabling automated deployments, governance, and lifecycle management of SQL assets.

When should I not use the Azure Resource Manager SQL SDK for database operations?

You should not use this SDK for data-plane operations like executing queries or managing table data. It is strictly for management-plane tasks including provisioning servers, databases, elastic pools, and firewall rules.