fabric-sql-deploy

Deploy SQL DDL scripts to a Microsoft Fabric Warehouse with pyodbc and Azure AD authentication.

Updated May 26, 2026
One-click install
npx skills add https://github.com/rbutinar/ade-ops --skill fabric-sql-deploy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fabric-sql-deploy
Source: https://github.com/rbutinar/ade-ops/tree/main/.agents/skills/fabric-sql-deploy
Command: npx skills add https://github.com/rbutinar/ade-ops --skill fabric-sql-deploy

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pyodbc, msal, and includes scripts (resource) components.

What problem does it solve?

This Skill streamlines the deployment of SQL DDL scripts to a Microsoft Fabric Warehouse, automating the process and reducing the potential for errors.

Core Features & Use Cases

  • Deploy SQL Scripts: Execute DDL (views, stored procedures, schemas) directly on a Fabric Warehouse.
  • Target Selection: Deploy to full schema, individual views, procedures, or specific files.
  • Confirmation and Verification: Offers a confirmation gate and verification of deployed scripts against INFORMATION_SCHEMA.
  • Compatibility Notes: Details what SQL features are supported and unsupported by Fabric Warehouse.

Quick Start

Deploy SQL scripts to the 'wrh_SSP_PD' warehouse in environment 'prod' with fabric-sql-deploy all --env prod.

Frequently Asked Questions about fabric-sql-deploy

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

FAQPage Schema
How do I automate SQL DDL deployment to a Microsoft Fabric Warehouse?

Automating SQL DDL deployment to a Microsoft Fabric Warehouse is achieved by connecting to the T-SQL endpoint using pyodbc and Azure AD authentication. This process supports the automated execution of schemas, views, and stored procedures.

Can I use Azure AD authentication to execute SQL scripts on a Fabric Warehouse?

Yes, you can use Azure AD authentication to execute SQL scripts on a Fabric Warehouse. The deployment process utilizes the msal library for authentication and pyodbc for establishing the T-SQL endpoint connectivity required to run the scripts.

How do I deploy specific SQL files or schemas instead of a full database update?

To deploy specific SQL files or schemas, you can use target selection features that allow deploying to a full schema, individual views, procedures, or specific files. This ensures only the selected DDL scripts are executed on the Fabric Warehouse.

What SQL features are unsupported when running DDL scripts on Microsoft Fabric?

Microsoft Fabric Warehouse supports specific SQL DDL syntax and has known unsupported features. Compatibility notes are provided during the deployment process to detail what SQL features are supported and unsupported by the Fabric Warehouse environment.

How can I verify that my SQL scripts were successfully deployed to Fabric Warehouse?

You can verify deployed scripts by checking them against the INFORMATION_SCHEMA. The deployment process includes confirmation gates and provides informational feedback for each script deployment to ensure successful execution.

Do I need pyodbc to automate SQL script deployment to Microsoft Fabric?

Yes, pyodbc is required to automate SQL script deployment to Microsoft Fabric. It provides the necessary T-SQL endpoint connectivity to the Fabric Warehouse, complementing the msal dependency used for Azure AD authentication.