Migrate Databricks notebooks, jobs, and paths into Microsoft Fabric.
Copy the install command and let the AI configure it · recommended for beginners
Please install the "databricks-migration" skill from askskill: 1. Download https://raw.githubusercontent.com/microsoft/skills-for-fabric/main/skills/databricks-migration/SKILL.md 2. Save it as ~/.claude/skills/databricks-migration/SKILL.md 3. Reload skills and tell me it's ready
Please migrate the following Databricks notebook code to Microsoft Fabric, replacing dbutils.fs, dbutils.secrets, dbutils.notebook, and library installation with Fabric equivalents, and explain each change.
Provides migrated Fabric code with a step-by-step replacement guide and caveats.
I need to migrate scripts using Unity Catalog three-level namespaces and DBFS paths from Databricks to Fabric. Map catalog.schema.table into a Lakehouse-compatible structure and rewrite DBFS paths to OneLake paths or Shortcut-based alternatives.
Returns table naming mappings, rewritten paths, and recommendations for incompatible parts.
Please migrate this Databricks Job and Delta Live Tables pipeline to Microsoft Fabric, converting them into Spark Job Definitions or feasible Fabric alternatives, and note the required changes for MLflow, Photon, and parameter passing.
Provides a migrated job design, step mapping table, and explanation of functional differences.
Update Check — ONCE PER SESSION (mandatory) The first time this skill is used in a session, run the check-updates skill before proceeding.
- GitHub Copilot CLI / VS Code: invoke the
check-updatesskill.- Claude Code / Cowork / Cursor / Windsurf / Codex: compare local vs remote package.json version.
- Skip if the check was already performed earlier in this session.
CRITICAL NOTES
- To find workspace details (including its ID) from a workspace name: list all workspaces, then use JMESPath filtering
- To find item details (including its ID) from workspace ID, item type, and item name: list all items of that type in that workspace, then use JMESPath filtering
dbutils.widgetshas no direct equivalent in Fabric — use notebook parameters (cell tagparameters) ornotebookutils.runtime.contextfor context injectiondbutils.library(runtime library install) has no equivalent — use Fabric Environments for reproducible library management- Unity Catalog uses a 3-level namespace (
catalog.schema.table); Fabric Lakehouse uses 2-level (schema.tablewithin a named Lakehouse)
Read these companion documents before executing migration tasks:
az rest, az login, token acquisition, Fabric REST via CLIFor notebook and Lakehouse creation, see spark-authoring-cli. For Fabric Warehouse DDL/DML authoring, see sqldw-authoring-cli.
| Topic | Reference |
|---|---|
| Migration Workload Map | § Migration Workload Map |
Complete dbutils → notebookutils Mapping | dbutils-to-notebookutils.md |
| Unity Catalog → Fabric Lakehouse Schemas | catalog-migration.md |
| Before/After Code Patterns | code-patterns.md |
| Cluster Config → Fabric Spark Pools | § Cluster Config → Fabric Spark Pools |
| Databricks Jobs → Spark Job Definitions | § Databricks Jobs → Spark Job Definitions |
| Delta Sharing → OneLake Shortcuts | § Delta Sharing → OneLake Shortcuts |
| MLflow → Fabric ML Experiments | § MLflow → Fabric ML Experiments |
| Must / Prefer / Avoid | § Must / Prefer / Avoid |
| Authentication & Token Acquisition | COMMON-CORE.md § Authentication |
| Lakehouse Management | SPARK-AUTHORING-CORE.md § Lakehouse Management |
| Notebook Management | SPARK-AUTHORING-CORE.md § Notebook Management |
| Databricks Component | Fabric Target | Notes |
|---|---|---|
| All-purpose cluster (notebooks, REPL) | Fabric Notebook (Starter Pool or Custom Pool) | No persistent cluster — Fabric provisions compute on session start |
| Job cluster (automated jobs) | Spark Job Definition (SJD) | SJD maps one-to-one with Databricks Jobs on job clusters |
| Unity Catalog | Fabric Lakehouse (schema per namespace) | See catalog-migration.md |
| Databricks Repos (Git-backed notebooks) | Fabric Git Integration | Connect workspace to Azure DevOps or GitHub; notebooks are synced |
…
Run authoring T-SQL for Fabric warehouses and SQL endpoints from CLI.
Monitor, inspect, and query Fabric Dataflows Gen2 through a read-only CLI.
Query Fabric Eventhouse data, analyze time series, and monitor ingestion health.
Inspect Fabric alerts, notifications, and automated actions via read-only API calls.
List, inspect, and validate Microsoft Fabric Eventstream topology and configuration.
Ask natural-language questions about Power BI reports and get business answers.
Build Fabric Spark workflows, author notebook code, and manage lakehouse resources.
Migrate Azure Synapse Spark workloads to Microsoft Fabric with code replacements.
Explore Databricks metadata, run SQL, and analyze lineage for data discovery.
Migrate HDInsight Spark, Hive, and Oozie workloads to Microsoft Fabric.
Manage Unity Catalog assets and run SQL queries in Databricks.
Access Databricks workspace data, jobs, and metadata through LLMs.