What problem does it solve?
Managing Microsoft Fabric Variable Libraries requires juggling two separate planes: definition files serialized to Git (variables, defaults, value set overrides) and workspace item state (the active value set), plus knowing how each consumer item type references a variable. This Skill provides the exact REST endpoints, payload shapes, and gotchas so changes are made correctly the first time.
Core Features & Use Cases
- Authoring mode: Create and update Variable Library definitions with
variables.json, settings.json, and valueSets/<name>.json parts, using native JSON types for overrides and omitting the unsupported format field.
- Consumption mode: Wire variables into pipelines (
libraryVariables blocks), notebooks (notebookutils.variableLibrary), Dataflow Gen2, Copy Jobs, shortcuts, User Data Functions, and Airflow jobs with the correct reference syntax.
- Operations mode: Read and switch the active value set per workspace via
PATCH /variableLibraries/{id}, and understand Git serialization and CI/CD behavior with fabric-cicd.
- Use Case: After deploying to a prod stage, point the prod workspace at the prod value set with a single PATCH call, then verify with
GET /variableLibraries/{id} since the generic items endpoint omits properties.
Quick Start
Ask the assistant to create a Fabric Variable Library with dev and prod value sets and wire a variable into your pipeline.