fabric-cli

Automate Fabric CLI workflows for workspace and item management.

36|4|Updated Nov 27, 2025
One-click install
npx skills add https://github.com/data-goblin/fabric-cli-plugin --skill fabric-cli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fabric-cli
Source: https://github.com/data-goblin/fabric-cli-plugin/tree/main/skills/fabric-cli
Command: npx skills add https://github.com/data-goblin/fabric-cli-plugin --skill fabric-cli

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests, azure-storage-file-datalake, azure-identity, and includes scripts (resource) and references (resource) components.

What problem does it solve?

The Fabric CLI environment can be verbose and error-prone for repetitive workspace management; this Skill provides structured guidance to automate common tasks with fab, improving reliability and speed.

Core Features & Use Cases

  • Automate core Fabric operations across workspaces, semantic models, reports, notebooks, and lakehouses using the fab CLI.
  • Enforce safe scripting patterns with authentication checks, non-interactive flags, and clear guardrails to prevent destructive actions.
  • Real-world scenario: export a workspace, update a model, and trigger a refresh across multiple environments with a single script.

Quick Start

List all notebooks in a workspace to verify inventory.

Frequently Asked Questions about fabric-cli

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

FAQPage Schema
How do I automate Fabric workspace management across multiple environments?

Automating Fabric workspace management involves using the fab CLI to script cross-workspace item operations. This enables reliable, non-interactive execution of tasks like exporting workspaces and triggering semantic model refreshes across multiple environments.

Can I use Python to list all notebooks in a Fabric lakehouse workspace?

Yes, you can use Python with the Fabric CLI to list all notebooks in a workspace to verify inventory. The Skill provides structured guidance for automating these API calls to manage lakehouses and other Fabric items reliably.

Do I need the Azure SDK to automate Fabric CLI tasks?

You need optional Azure SDKs like azure-storage-file-datalake and azure-identity only when transferring lakehouse files or accessing OneLake resources. Standard Fabric CLI automation for workspace and item management requires just Python and the fab CLI.

What is the best way to prevent destructive actions when automating Fabric workspaces?

To prevent destructive actions when automating Fabric workspaces, enforce safe scripting patterns with clear guardrails. The Skill ensures reliability by incorporating authentication checks and non-interactive flags to protect your semantic models and reports.

How do I script a semantic model refresh and update across Fabric workspaces?

You can script a semantic model refresh and update across Fabric workspaces using the fab CLI. The Skill enables you to automate the entire workflow, allowing you to export a workspace, update a model, and trigger a refresh across multiple environments with a single script.

Why does my Fabric CLI automation script fail during non-interactive execution?

Fabric CLI automation scripts often fail during non-interactive execution due to missing authentication checks or improper non-interactive flags. The Skill provides structured guidance to enforce safe scripting patterns, ensuring reliable cross-workspace API calls without manual intervention.