0% Completed

Codebasics Icon
Step 3: Connect Claude Code to Fabric

Step 3: Connect Claude Code to Fabric
Workshop setup · Step 3 of 3
Connect Claude Code to Fabric
Resume your capacity first (Part 6). Sign in with your work login whenever Microsoft asks.
Your progress
Your computer:
1Sign in to the Fabric CLI
Run this in a terminal. Pick Interactive with a web browser, press Enter and sign in.
fab auth login
2Sign in to the Azure CLI
Run this and sign in with the same work login. Asked to pick a tenant or subscription? Press Enter.
az login --allow-no-subscriptions
3Add the Fabric MCP server to Claude Code
Run this once. It gives Claude Code Microsoft's Fabric tools in every project.
Windows
claude mcp add fabric --scope user -- cmd /c npx -y @microsoft/fabric-mcp@latest server start --mode all
Mac
claude mcp add fabric --scope user -- npx -y @microsoft/fabric-mcp@latest server start --mode all
Check: claude mcp list shows fabric as Connected (the first start can take a minute).
Connected. Click Next at the top for the ready check.