# migrating-fabric-trial-capacities

migrating-fabric-trial-capacities is a Claude Code command that moves Microsoft Fabric workspaces from trial to production capacity through fab CLI, logging each step.

- command · `type=command` · Claude Code, Codex, GitHub Copilot, Gemini CLI · ★ 1104 repo stars
- Author: Kurt Buhler
- License: GPL-3.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/data-goblin/power-bi-agentic-development/tree/HEAD/plugins/fabric-cli/commands/migrating-fabric-trial-capacities.md
- Updated: 2026-10-28
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/commands/migrating-fabric-trial-capacities

## What it does

The command audits trial workspaces, identifies available production capacities, and migrates them in bulk. It uses `fab ls` to find workspaces matching the Trial- pattern, then applies capacity assignment via `fab assign` and verifies the result. A built-in bash script logs each migration with timestamps and counts successful transfers.

Includes a checklist: verify the target capacity has enough compute units, confirm region matches your workspaces, ensure admin access. Migration is immediate but may briefly interrupt running jobs. Cross-region moves are not supported.

## Requirements
- Works with: Power BI

## Install

### Claude Code (native platform)

1. **Plugin marketplace**
In the agent chat (not a shell):
```text
/plugin marketplace add data-goblin/power-bi-agentic-development
```
In the agent chat (not a shell):
```text
/plugin install fabric-cli@power-bi-agentic-development
```

2. **Manually: put the files in place**
- File: `.claude/commands/migrating-fabric-trial-capacities.md` — Call it with /migrating-fabric-trial-capacities. For all projects use ~/.claude/commands/

### Codex

**Manually: put the files in place**
- File: `~/.codex/prompts/migrating-fabric-trial-capacities.md` — Call it with /prompts:migrating-fabric-trial-capacities. Codex marks this format deprecated in favour of skills

### GitHub Copilot

**Manually: put the files in place**
- File: `.github/prompts/migrating-fabric-trial-capacities.prompt.md`

### Gemini CLI

**Manually: put the files in place**
- File: `.gemini/commands/migrating-fabric-trial-capacities.toml` — Gemini stores commands as TOML: the prompt text goes into the prompt field

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/data-goblin/power-bi-agentic-development/tree/HEAD/plugins/fabric-cli/commands/migrating-fabric-trial-capacities.md

## When to use it
- audit which workspaces run on trial capacity
- move a batch of workspaces to production capacity in one run
- verify migration completed and no workspaces remain on trial
- track each workspace transfer with timestamps in a log file

## Example prompts
- Migrate all trial workspaces to ProductionCapacity and log the progress
- Move workspaces to the target capacity, then verify zero remain on trial
- Run the migration script with a custom target capacity name

## Similar
- [microsoft-fabric-unified-analytics](https://affpapa.org/en/nevibecode/skills/microsoft-fabric-unified-analytics.md) — skill · 282 installs
- [azure-mgmt-fabric-py](https://affpapa.org/en/nevibecode/skills/azure-mgmt-fabric-py.md) — skill · ★ 3232 repo stars
- [dx-org-trial-expiration-check](https://affpapa.org/en/nevibecode/skills/dx-org-trial-expiration-check.md) — skill · 3300 installs
- [power-platform-architect](https://affpapa.org/en/nevibecode/plugins/power-platform-architect.md) — plugin · ★ 41430 repo stars
- [power-bi-devops-alm-best-practices](https://affpapa.org/en/nevibecode/rules/power-bi-devops-alm-best-practices.md) — rule · ★ 41430 repo stars
- [logifleet-pulse-supply-chain-analytics](https://affpapa.org/en/nevibecode/skills/logifleet-pulse-supply-chain-analytics.md) — skill · 659 installs

From the same set: [data-goblin/power-bi-agentic-development](https://affpapa.org/en/nevibecode/by/data-goblin/power-bi-agentic-development.md) — 59 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
