In this step-by-step guide, you will learn how to connect Visual Studio Code to Fabric on a Mac Silicon. This lets you write and run notebooks in Visual Studio Code, using the Fabric kernel to execute your code. By connecting Visual Studio Code to Fabric, you can take advantage of the powerful features of GitHub Copilot to be more productive in your code writing.

Prerequisites

  • Visual Studio Code
  • Java Development Kit(JDK) from OpenJDK8
  • Anaconda
  • Jupyter extension for VS Code

For the latest updated information, please refer to the official Microsoft documentation.

Step 1: Connect and Select Workspace in vscode

Select Workspace
Select Workspace

Log in to your account, select local folder on your machine, and select your workspace in Fabric.

Step 2: Make it ready locally

Download notebook
Download notebook
Open Notebook Folder
Open Notebook Folder
Select Kernel
Select Kernel
Select Python Environment
Select Python Environment
Select fabric-synapse-runtime-1-2
Select fabric-synapse-runtime-1-2

Enjoy!

I’m Snorre

I’m a Data Engineer and Business Analyst with a background in Economics. I love diving into data and turning it into something meaningful using tools like Microsoft Fabric, Power BI, and Azure Data Factory. Over the years, I’ve worked on everything from data migrations to building reports and dashboards that help organizations really make the most of their data.

I’ve had the chance to work in a variety of environments, and I’m all about creating solid, scalable solutions that drive digital transformation. I also enjoy sharing what I know through training sessions and webinars, always looking to help others get more comfortable and skilled with data.


When I’m not working on data projects or teaching, you’ll probably find me outdoors—whether I’m working in the forest, traveling, or just hanging out with friends and family. I also like getting involved in testing out new Microsoft features, giving feedback to make sure they’re as useful as possible before they’re released.

Let’s connect