fabric-cli
Skill1 starsChanged 55 days agoMITView on GitHub
Use for the Fabric CLI `fab` (v1.5 GA March 2026, `pip install ms-fabric-cli`, Python 3.10–3.13, pre-installed in Fabric Notebooks) — filesystem-style CLI over Fabric + Power BI REST. Covers path syntax (Workspace.Workspace/Item.ItemType, .ItemType suffix mandatory, hidden roots .capacities/.connections/.domains/.gateways), auth (`fab auth login` or `FAB_TOKEN` + `FAB_TOKEN_ONELAKE` env tokens, not `az login`), navigation (ls/cd/pwd/exists/get/desc/find), item CRUD (mkdir/set/rm/cp/mv/ln/export/import), ACLs, capacity/domain assign, labels, jobs (incl. semantic-model refresh + dataflow), table maintenance, shortcuts via `fab ln`, `fab deploy --config <yaml>` for one-command workspace CI/CD on top of fabric-cicd (v1.5+), `fab api` REST passthrough (-A powerbi/storage/azure), deployment pipelines, report rebind via `fab set semanticModelId`, DuckDB-on-OneLake, executing DAX via fab api, and common gotchas (InvalidPath, GUID vs friendly names for schema tables, -f for non-interactive).
- Installs packages
1 other project uses a version of this.
Adopted by
Most recently taken up by
- microsoft/fabric-apps-analytic-templatestheir own version, first seen Sep 28, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- microsoft/fabric-apps-analytic-templates★ 26same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository62 other files it gives its agents.
- claude/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- author-skillSkill
- drift-auditSkill
- drift-handoffSkill
- drift-updateSkill
- test-skillSkill
- triageSkill
- fabric-activatorSkill
- fabric-ai-functionsSkill
- fabric-authSkill
- fabric-catalog-governanceSkill
- fabric-cicdSkill
- fabric-copy-jobSkill
- fabric-data-agentSkill
- fabric-databaseSkill
- fabric-dataflowSkill
- fabric-data-pipelineSkill
- fabric-deployment-pipelinesSkill
- fabric-error-handlingSkill
- fabric-eventhouseSkill
- fabric-event-schema-setSkill
- fabric-eventstreamSkill
- fabric-gotchasSkill
- fabric-graphSkill
- fabric-mirroringSkill
- fabric-mlvSkill
- fabric-ontologySkill
- fabric-operations-agentSkill
- fabric-realtime-dashboardSkill
- fabric-rest-apiSkill
- fabric-securitySkill
- fabric-semantic-model-ai-instructionsSkill
- fabric-semantic-model-auditSkill
- fabric-spark-monitoringSkill
- fabric-sparkSkill
- fabric-tmdl-apiSkill
- fabric-tmdlSkill
- fabric-variable-librarySkill
- fabric-warehouse-monitoringSkill
- fabric-warehouseSkill
- learnSkill
- pbid-tom-liveSkill
- pbip-project-structureSkill
- pbir-bookmarksSkill
- pbir-cliSkill
- pbir-conditional-formattingSkill
- pbir-filtersSkill
- pbir-pagesSkill
- pbir-report-workflowSkill
- pbir-themesSkill
- pbir-visual-jsonSkill
- powerbi-report-authoringSkill
- powerbi-report-designSkill
- linkedin-highlightsSkill
- msix-packagingSkill
- code-reviewSkill
- commitSkill
- find-sessionSkill
- landSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 235
No native fab verbs — use fab api, and mind the audience, because two different APIs reach this feature: the Fabric Core surface …
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Fabric CLI (fab)
Filesystem-style CLI over the Fabric + Power BI REST APIs. Paths use Workspace.Workspace/Item.ItemType/.... The .ItemType suffix is mandatory on items. Workspaces use .Workspace; hidden roots like .capacities, .connections, .domains, .gateways expose tenant resources.
Version / install: v1.5 went GA March 2026; current is v1.7.x (v1.7.0 shipped 2026-08-18, after v1.6.1 on 2026-04-29). Install with pip install ms-fabric-cli or uv tool install ms-fabric-cli. Requires Python 3.10, 3.11, 3.12, or 3.13. Pre-installed in Fabric Notebooks (no install step needed when running !fab ... from a notebook cell). Confirm version with fab --version. Canonical per-command reference: microsoft.github.io/fabric-cli. Release notes: github.com/microsoft/fabric-cli/releases.
Interactive (REPL) mode: fab config set mode interactive switches fab to a persistent shell where commands no longer need the fab prefix and cd state survives between calls. Default is command-line mode.
AI assets (v1.5+): The repo's .ai-assets/ folder bundles context/, modes/, prompts/, and skills/ files designed to be loaded by AI coding assistants (Copilot, Claude, Cursor) so the assistant can author fab invocations correctly. These are consumable artifacts, not CLI verbs — there is no fab agent or fab ai subcommand.
Authentication
fab does not reuse the Azure CLI session: its auth module has no Azure CLI credential, so with az signed in and fab logged out, fab ls fails [AuthenticationFailed] Failed to get access token (fab 1.7.0 source, and a run, 2026-10-01). It takes fab auth login (interactive, service principal or managed identity), or tokens in environment variables, which leave its stored login alone, so a shell pinned to one tenant through AZURE_CONFIG_DIR stays pinned:
export FAB_TOKEN="$(az account get-access-token --resource https://analysis.windows.net/powerbi/api --query accessToken -o tsv | tr -d '\r')"
export FAB_TOKEN_ONELAKE="$(az account get-access-token --resource https://storage.azure.com --query accessToken -o tsv | tr -d '\r')"- Both are required: either alone fails
both_fab_and_onelake_tokens_required. FAB_TOKENcarries the Power BI audience:fabchecks itsaudagainsthttps://analysis.windows.net/powerbi/apialone.FAB_TOKEN_AZURE(https://management.azure.com) serves only Azure-scope commands, butfab auth statuscrashes without it,[UnexpectedError] FAB_TOKEN_AZURE, since it reads the variable before checking that it is set.- They expire like any access token: mint them in the same shell call as the
fabcommand.
fab auth tokens do not work for OneLake storage calls from external tools — acquire via az account get-access-token --resource https://storage.azure.com instead (OneLake's audience is Azure Storage, not the Fabric API).
Path Syntax
Workspace.Workspace/Item.ItemType[/Files|Tables/...]
.capacities/MyCap.Capacity
.connections/conn.Connection
.domains/Analytics.Domain
.gateways/gw.GatewayNames with spaces or apostrophes work inside double quotes with no escaping: "Claude Code's Workspace.Workspace".
Core Command Reference
Navigation & Discovery
| Command | Purpose |
fab ls [path] | List workspaces / items / files / tables |
fab ls -l | Long format |
fab ls -a | Include hidden roots |
fab ls -q "<jmespath>" | Filter server response (replaces many fab api calls) |
fab cd <path> | Change working path (session-scoped) |
fab pwd | Current path |
fab exists <path> | Returns * true / * false |
fab get <path> [-v] [-q <jmespath>] [-o <file>] [-f] | Item details. Without -q it lists the queryable property paths, not their values (-v too); -q . prints everything, definition parts decoded. On an item, pass -f |
fab desc .<ItemType> | List commands supported by an item type |
fab find "<text>" [-P type=[...]] [-l] | OneLake-catalog search across all workspaces by display name / description / workspace name (v1.6+). -P uses key=value / key!=value with [a,b] bracket syntax (distinct from the JSON-array form fab deploy uses) |
fab open <path> | Open the workspace or item in the browser |
Item CRUD
| Command | Purpose |
fab mkdir <path> [-P key=value,...] | Create workspace or item; -P capacityname=... for workspaces |
fab set <path> -q <prop> -i <value> | Update a single property (e.g. displayName, description, semanticModelId) |
fab rm <path> -f [--hard] | Delete (alias del); --hard permanently deletes an item (no recovery, v1.6+) |
fab cp <src> <dst> [-r] [-f] [-bpc] | Copy item or files; -bpc blocks cross-folder same-name conflicts |
fab mv <src> <dst> [-r] [-f] | Move / rename |
fab export <path> -o <dir> [-a] [-f] [--format py] | Export item definition; -a entire workspace |
fab bulk-export <path> -o <dir> --recursive [-f] | Export every supported item in a .Workspace or .Folder, folder structure kept (v1.7+); --recursive is required for both targets, and -f also waves through a non-empty output dir |
fab import <path> -i <dir> -f | Import definition from local folder (-f required for non-interactive) |
fab ln <link-path> --target <target-path> | Create a OneLake shortcut (alias mklink) |
export writes REST's IDs, bulk-export Git's. fab export calls getDefinition: object IDs, the real workspace ID, and an all-zero .platform logicalId, with no description. bulk-export writes logicalIds and an all-zero workspaceId, as a portal commit does, so redeploy or compare with a repo from it. Both re-indent JSON to 4 spaces and write CRLF in every part, code included, so commit neither into a Git-synced folder as is, and compare with jq -S (fab 1.7.0, two User Data Functions items, 2026-10-01). bulk-export also drops types without a word: one run's summary counted a skipped Warehouse and four SQLEndpoints and never mentioned a Plan, an EventSchemaSet or an AppBackend, so check it against fab ls.
Access Control
| Command | Purpose |
fab acl ls <path> [-l] | List permissions |
fab acl get <path> -q "<jmespath>" | Query specific ACL fields |
fab acl set <path> -I <objectId> -R <Role> [-f] | Grant role |
fab acl rm <path> -I <upn|clientId> -f | Revoke |
Role values by resource:
| Resource | Roles |
| Workspace | Admin, Member, Contributor, Viewer |
| Connection | Owner, User, UserWithReshare |
| Gateway | Admin, ConnectionCreator, ConnectionCreatorWithResharing |
Assignment
| Command | Purpose |
fab assign .capacities/<C>.Capacity -W <ws> | Assign workspace to capacity |
fab assign .domains/<D>.Domain -W <ws> -f | Assign workspace to domain |
fab unassign .capacities/<C>.Capacity -W <ws> | Unassign |
fab start .capacities/<C>.Capacity | Resume capacity |
fab stop .capacities/<C>.Capacity -f | Pause capacity (stops all workloads) |
The .domains verbs are tenant-admin only. ls, get, mkdir, rm, set, assign and unassign against .domains all require tenant-level Fabric Administrator privileges (fab docs, 2026-09-12) — the capacity verbs above do not. A workspace admin holding a domain contributor role can still assign their own workspace through the Core API, which fab reaches only as a passthrough: fab api -X post "workspaces/$WS_ID/assignToDomain" -i '{"domainId":"<id>"}'. See the fabric-catalog-governance skill.
Labels
| Command | Purpose |
fab label list-local | Configured sensitivity labels |
fab label set <path> --name <Label> | Apply label |
fab label rm <path> -f | Remove label |
All fab label commands require tenant-level Fabric Administrator privileges, and they resolve names from a local JSON file registered with fab config set local_definition_labels <json_path> — list-local lists that file, not the tenant's labels.
Jobs
| Command | Purpose |
fab job run <path> [--timeout <s>] [--polling_interval <s>] | Synchronous run |
fab job run <path> -P key:type=value,... | With typed parameters (string, int, bool) |
fab job start <path> | Async (fire and forget) |
fab job run-list <path> [--schedule] | List runs / scheduled runs |
fab job run-status <path> --id <jobId> | Single run status |
fab job run-cancel <path> --id <jobId> [--wait] | Cancel |
fab job run-sch <path> --type daily --interval 10:00 --enable | Create schedule |
fab job run-update <path> --id <schedId> [--enable|--disable] | Update schedule |
fab job run-rm <path> --id <schedId> -f | Delete schedule |
fab job run auto-selects the right job type per item (notebook / pipeline / semantic model refresh / Spark job) — no manual jobType equivalent to the REST API required.
Tables (Lakehouse)
| Command | Purpose |
fab table schema <path> | Show Delta table schema |
fab table load <path> --file <Files/...> --mode append|overwrite | Load file into Delta table (non-schema lakehouses only) |
fab table optimize <path> [--vorder] [--zorder col1,col2] | OPTIMIZE + optional Z-order |
fab table vacuum <path> --retain_n_hours <N> | VACUUM |
REST API Passthrough (fab api)
Direct REST access when native commands don't cover the operation.
fab api "<endpoint>" # Fabric (default)
fab api -A powerbi "<endpoint>" # Power BI
fab api -A storage "<onelake path>" # OneLake DFS
fab api -A azure "<endpoint>" # Azure RM
fab api -X post "<endpoint>" -i '<json>|<file>' # POST with body
fab api "<endpoint>" -q "value[0].id" # JMESPath filter-i sets Content-Type: application/json for you — don't pass -H for
it. fab api -i hands the body to the client as json=, and the client
sets that header on every request that is not a multipart upload; only the
separate --file path skips it, where requests supplies its own boundary
type. A -H you pass is merged after the default, so it overrides rather
than supplies. Measured 2026-09-13 against fab 1.7.0
(client/fab_api_client.py, commands/api/fab_api_request.py). Upstream's
skills-for-fabric adds -H "Content-Type=application/json" to its own
POST example and Learn's fab api example carries it too — on this version
that is redundant, not required. If you do pass it, the form is key=value
(=, not : — that is fab syntax, not HTTP syntax).
| Audience | Flag | Base URL | Use Cases |
| Fabric | (default) | api.fabric.microsoft.com | Items, workspaces, operations, admin |
| Power BI | -A powerbi | api.powerbi.com | Refresh, datasets, datasources, deployment pipelines, DAX execute, gateways, activity events, admin |
| Storage | -A storage | OneLake DFS/Blob | File enumeration with -P resource=filesystem,recursive=... |
| Azure | -A azure | management.azure.com | Capacity pause/resume, ARM resources |
Idiom — extract an ID and chain:
WS_ID=$(fab get "Prod.Workspace" -q "id" | tr -d '"')
MODEL_ID=$(fab get "Prod.Workspace/Model.SemanticModel" -q "id" | tr -d '"')
fab api -A powerbi "groups/$WS_ID/datasets/$MODEL_ID/refreshes" -X post -i '{"type":"Full"}'Workspace Deployment (fab deploy, v1.5+)
One-command CI/CD that wraps the fabric-cicd Python library. Deploys items from local source folders to a target workspace, with environment-aware parameterization. Use this — not fab api — for code-first workspace promotion from a Git checkout.
fab deploy --config <config_file> [-tenv <env>] [-P '<json-array>'] [-f] [--output_format <fmt>] [--bulk_publish]| Flag | Purpose |
--config <file> | Required. Path to the deployment YAML. Defines source items, target workspace, item-types-in-scope, and the parameter file. |
-tenv, --target_env <env> | Picks the env block (e.g. dev / test / prod) from the config + parameter file. |
-P, --params '<json>' | JSON-array of override parameters: '[{"p1":"v1","p2":"v2"}]'. Quote the whole array — single object form (-P key=value) is not what this verb accepts (that's fab find's param style — they differ). |
-f, --force | Skip interactive confirmation (required in CI). |
--output_format <fmt> | Override output format (json / text / etc.). |
--bulk_publish | v1.7+, flagged experimental by fab when last read. Publish every item in one bulk-import API call instead of one at a time; the Bulk Import Item Definitions API underneath is GA (September 2026). |
Examples:
fab deploy --config config.yml --target_env dev
fab deploy --config config.yml --target_env prod -f
fab deploy --config config.yml --target_env test \
-P '[{"param1":"value1"}]' -fThe config file resolves source folders, target workspace IDs/names, and per-env GUID replacements through fabric-cicd's parameter model — same $workspace.$id and $items.<Type>.<name>.id tokens documented in the Azure DevOps tutorial. Authenticates via the active fab auth session (interactive or SPN).
When to use fab deploy vs Power BI deployment pipelines: fab deploy is source-of-truth-is-Git (workspace = artifact of the deploy). Power BI deployment pipelines is source-of-truth-is-workspace (dev workspace promotes to test/prod workspaces via the service-side pipeline). They are distinct surfaces — don't mix.
Built-in Azure DevOps task (FabricCLI@1, preview)
There are two ways to run fab in an Azure DevOps pipeline:
- Install-then-script (the pattern in the fabric-cicd ADO tutorial) — a
pip install ms-fabric-clistep followed by a script step that callsfab. Works everywhere, but you own the install/version pinning in every pipeline. - Built-in task (preview, March 2026) — the Azure DevOps Pipelines extension for Fabric (marketplace ID
ms-fabric.fabric-devops-pipelines) shipsfabas a nativeFabricCLI@1task. The CLI is auto-provisioned in the pipeline runtime — nopip installstep. Auth is via an Azure DevOps service connection to your Fabric tenant (rather than passing SPN env vars into a script). Get started at aka.ms/FabCLI.
- task: FabricCLI@1
inputs:
scriptType: 'pscore' # ps | pscore | batch | bash
scriptLocation: 'inlineScript'
inlineScript: 'fab ls'
FabricCLIVersion: 'v1.2.0' # pin the CLI versionPrefer the built-in task for new pipelines (less boilerplate, service-connection auth); keep install-then-script when you need a CLI version the task doesn't yet offer, a self-hosted agent, or non-ADO CI. The task is preview — pin FabricCLIVersion and validate before relying on it for prod promotion.
Deployment Pipelines (Power BI service-side)
No native fab verbs — use fab api, and mind the audience, because
two different APIs reach this feature: the Fabric Core surface
(deploymentPipelines/...) is the default with no -A flag, the older
Power BI surface (pipelines/...) needs -A powerbi, and crossing them
is a 404 that reads like a missing feature. Request shapes, scopes, item
pairing, rules and limits are the fabric-deployment-pipelines skill's.
fab deploy is the Git-driven surface and a different thing entirely.
Export / Import Formats
| Item Type | Local Format | Notes |
.Report | PBIR folder | .pbir launches Power BI Desktop (Developer Mode) |
.SemanticModel | TMDL folder | definition/database.tmdl, model.tmdl, tables/*.tmdl (export/import formats stabilized in v1.5) |
.SparkJobDefinition | JSON folder | Export/import added in v1.5 |
.Notebook | .py or folder | Use --format py for plain Python |
.DataPipeline | JSON folder | Activity definitions |
.Lakehouse | Metadata + tables | Export/import support added in v1.6+; before that, only fab cp worked for Files |
Export output layout:
output/
Model.SemanticModel/
.platform
definition/
database.tmdl
model.tmdl
tables/
Report.Report/
.platform
definition.pbir
definition/Critical: fab export does not create intermediate directories. Always mkdir -p <out> first, or it fails with InvalidPath. Never include .platform when making definition API calls directly — it is Git integration metadata. See the fabric-tmdl-api skill.
Non-exportable types: .Dashboard, .SQLEndpoint. (.Lakehouse is now exportable as of v1.6.) Check with fab desc .<ItemType>.
VariableLibrary (v1.6+): Variable Libraries now have full CLI coverage via the standard verbs — mkdir, get, set, rm, ls, export, import, cp, mv — backed by the Variable Library REST APIs. Before v1.6 only the portal could manage them.
DuckDB on OneLake
Fastest way to explore lakehouse / warehouse / SQL Database Delta tables without building a semantic model. Requires duckdb installed and az login active.
INSTALL delta; INSTALL azure;
LOAD delta; LOAD azure;
CREATE SECRET (TYPE azure, PROVIDER credential_chain, CHAIN 'cli');
SELECT * FROM delta_scan(
'abfss://my-workspace@onelake.dfs.fabric.microsoft.com/MyLH.Lakehouse/Tables/bronze/orders'
) LIMIT 10;CHAIN 'cli' forces use of Az CLI creds; otherwise DuckDB tries managed identity first and fails on local machines.
Friendly names vs GUIDs:
| Format | Works for dbo | Works for named schemas |
GUID: abfss://<wsId>@onelake.../<itemId>/Tables/... | Yes | No (Bad Request on parquet read) |
Friendly: abfss://<ws>@onelake.../<Name>.<Type>/Tables/schema/... | Yes | Yes |
Always use friendly names for schema-namespaced tables. The .Lakehouse / .Warehouse / .SQLDatabase suffix is required.
| Item type | Friendly path | Notes |
| Lakehouse | .../LH.Lakehouse/Tables/... | Direct Delta |
| Warehouse | .../WH.Warehouse/Tables/... | Direct Delta |
| SQL Database | .../DB.SQLDatabase/Tables/... | Auto-mirrored Delta; ~15s replication delay; extra MSSQL_System_Uniquifier column |
Raw files under Files/ via read_csv(), read_json(), read_parquet() with glob patterns (*, **). Cross-item joins in one query — different abfss:// paths per item. Read-only; no write-back to lakehouse tables.
Executing DAX via fab api
cat > /tmp/dax.json << 'EOF'
{
"queries": [{
"query": "EVALUATE SUMMARIZECOLUMNS ( 'Date'[Year], \"@Total\", [Total Sales] )"
}],
"serializerSettings": { "includeNulls": false }
}
EOF
fab api -A powerbi "groups/$WS_ID/datasets/$MODEL_ID/executeQueries" -X post -i /tmp/dax.jsonTemp file avoids the double-escaping trap (bash single-quote + JSON double-quote). DAX rules unchanged: EVALUATE required, single-quote tables, fully-qualify columns.
Common Workflows
# Find all semantic models in a workspace
fab ls "Prod.Workspace" -q "[?type=='SemanticModel'].name"
# Bulk export all reports
mkdir -p /tmp/reports
fab ls "Prod.Workspace" | grep ".Report" | while read item; do
fab export "Prod.Workspace/$item" -o /tmp/reports -f
done
# Rebind a report to a new model after deployment (v1.5 first-class path)
fab set "Prod.Workspace/Report.Report" -q semanticModelId -i "<new-model-id>"
# Trigger semantic model refresh (v1.5 first-class via fab job, no fab api required)
fab job run "Prod.Workspace/Sales.SemanticModel" # synchronous
fab job start "Prod.Workspace/Sales.SemanticModel" # fire and forget
fab job run "Prod.Workspace/Sales.SemanticModel" -P refreshType:string=Full
# Equivalent REST passthrough (still valid if you need finer control over the body)
fab api -A powerbi "groups/$WS_ID/datasets/$MODEL_ID/refreshes" -X post -i '{"type":"Full"}'
fab api -A powerbi "groups/$WS_ID/datasets/$MODEL_ID/refreshes?\$top=1"Gotchas
| Issue | Cause | Fix |
InvalidPath: No such file or directory on export | Output dir does not exist | mkdir -p first; fab export does not create parents |
Import/export, or get on an item, hangs or fails Found xterm-256color, while expecting a Windows console (Git Bash) / No Windows console found (PowerShell) | A confirmation prompt (for get, the sensitivity label) with no console to answer it | Always pass -f in scripts and automation |
[AuthenticationFailed] Failed to get access token with az signed in | fab never reads the Azure CLI login | fab auth login, or the env tokens under Authentication |
| GUID path fails on schema table | DuckDB Delta reader on non-dbo schemas | Use friendly names with .Lakehouse suffix |
| DuckDB auth fails | No CLI chain specified | CREATE SECRET (...CHAIN 'cli') forces Az CLI creds |
| Tokens rejected for OneLake | Used fab auth token, or wrong audience | Acquire via az account get-access-token --resource https://storage.azure.com (OneLake's audience is Azure Storage, NOT the Fabric API) |
403 on refresh / datasources / permissions API | Viewer role | Needs Contributor+; stop retrying — it's permissions |
| Empty response from admin APIs | Missing $top query parameter | Add $top=100 (escape $ in bash: \$top) |
| Activity events empty | Missing quotes around dates | Dates must be quoted ISO 8601 inside URL |
| Workspace path with apostrophe "fails" | Over-escaping | Wrap in double quotes; no backslashes needed |
| Export strips sensitivity label | -f force flag | Informational, not an error; label is dropped intentionally |
Cannot export .Lakehouse / .Dashboard / .SQLEndpoint | Not definition-exportable | Use fab cp for lakehouse files; others have no export |
.platform breaks REST definition calls | Git metadata, not a part | Strip before any direct API payload |
| DAX quote chaos | Bash + JSON double escaping | Write JSON to a temp file via heredoc |
Session burning CUs after nb exec | Forgotten Livy session | Wrap session cleanup in finally; idle sessions cost compute until 20-min timeout |
fab job run wrong job type | (rare) | CLI auto-selects; if needed use fab api with correct jobType per fabric-rest-api skill |
Reference
- Microsoft Learn: Fabric command line interface (install + login)
- GitHub Pages: Fabric CLI documentation (canonical per-command reference)
- GitHub Pages:
fab deploycommand reference - Microsoft Learn: Item management overview (REST APIs
fabwraps) - Microsoft Learn What's New: Fabric CLI v1.5 GA — March 2026 — one-command workspace deploys with fabric-cicd integration, first-class Power BI (rebind/refresh), pre-installed in Fabric Notebooks, Python 3.13, 30+ item types.
- Comprehensive MS Learn link bundle (concept / examples / underlying REST / authentication / lakehouse ops / CI/CD): references/REFERENCE.md
See also
- fabric-cicd skill — the Python library
fab deploywraps: directFabricWorkspace/publish_all_itemsusage, parameter.yml model, feature flags - fabric-rest-api skill — direct REST patterns behind
fab api - fabric-tmdl-api skill — definition payloads for semantic models
- fabric-auth skill — token audiences when acquiring tokens outside
az login
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

