Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
smpa01
Super User
Super User

Synapse Extension Error in VS Studio code web

Is anyone else seeing this, in vs studio code web. I can't execute anything today in the VS Studio code web (In Fabric notebook there is no issue)

 

smpa01_0-1726946141155.png

 

Did I answer your question? Mark my post as a solution!
Proud to be a Super User!
My custom visualization projects
Plotting Live Sound: Viz1
Beautiful News:Viz1, Viz2, Viz3
Visual Capitalist: Working Hrs
1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @smpa01 

VS Code web will install some dependency extensions for us automatically when we install the Synapse VS Code - Remote extension. I have just tested that, see my previous reply. And it allows us to install a specific version as we do that in VS Code desktop. 

vjingzhanmsft_0-1727064094948.png

 

I notice that your screenshot shows that the number of installed extensions in VS Code Web is 0. Did you open the notebook in VS Code (Web) from Fabric Portal directly without installing the Synapse VS Code - Remote extension first? We need to install this extension before opening a Fabric notebook. Please refer to Create and manage Fabric notebooks from VS Code for the Web - Microsoft Fabric | Microsoft Learn

Install the Synapse VS Code extension for the Web

  1. Go to https://insider.vscode.dev from your browser.
  2. Select the Extensions icon in the left navigation bar.
  3. Search for Synapse and select the Synapse VS Code - Remotes extension
  4. click Install.

 

Best Regards,
Jing
If this post helps, please Accept it as Solution to help other members find it. Appreciate your Kudos!

View solution in original post

9 REPLIES 9
Anonymous
Not applicable

Hi @smpa01 

 

Have you resolved this issue? If my previous reply was helpful, please consider accepting it as a solution. If you have found other solutions, we would greatly appreciate it if you could share them with us. Thank you!

 

Best Regards,
Jing

Anonymous
Not applicable

Hi @smpa01 

According to the error message, it seems the Jupyter extension version is not compatible. Is it possible install another version to make it work?

 

I don't have any error when running a notebook in VS Code Web, see below. In addition, ensure the kernel is set to “Synapse VS Code - Remote”.  

vjingzhanmsft_1-1727061688884.png

Documentation: Create and manage Fabric notebooks from VS Code for the Web - Microsoft Fabric | Microsoft Learn

 

Best Regards,
Jing
If this post helps, please Accept it as Solution to help other members find it. Appreciate your Kudos!

This is the web version which automatically pops up from the Fabric interface, and it does not provide install or uninstall option for Jupyter as one could do in the Desktop VS Studio Code.

Did I answer your question? Mark my post as a solution!
Proud to be a Super User!
My custom visualization projects
Plotting Live Sound: Viz1
Beautiful News:Viz1, Viz2, Viz3
Visual Capitalist: Working Hrs
Anonymous
Not applicable

Hi @smpa01 

VS Code web will install some dependency extensions for us automatically when we install the Synapse VS Code - Remote extension. I have just tested that, see my previous reply. And it allows us to install a specific version as we do that in VS Code desktop. 

vjingzhanmsft_0-1727064094948.png

 

I notice that your screenshot shows that the number of installed extensions in VS Code Web is 0. Did you open the notebook in VS Code (Web) from Fabric Portal directly without installing the Synapse VS Code - Remote extension first? We need to install this extension before opening a Fabric notebook. Please refer to Create and manage Fabric notebooks from VS Code for the Web - Microsoft Fabric | Microsoft Learn

Install the Synapse VS Code extension for the Web

  1. Go to https://insider.vscode.dev from your browser.
  2. Select the Extensions icon in the left navigation bar.
  3. Search for Synapse and select the Synapse VS Code - Remotes extension
  4. click Install.

 

Best Regards,
Jing
If this post helps, please Accept it as Solution to help other members find it. Appreciate your Kudos!

@Anonymous  your solution worked. I was opening the web vesrion directly from the notebook as you predicted.

 

Can you please advise me on this , I prefer running the visual studio code from my pc rather than web, I am not sure what am I doing wrong.

 

I keep on hitting a dead end in VS Code Local

 

same workbook in fabic vs vscode

smpa01_0-1727282612497.png

 

 

smpa01_3-1727283104625.png

 

PySparkLighter.Log gives me this

12:52:24,643 urllib3.connectionpool WARNING Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain (_ssl.c:1007)'))': /common/discovery/instance?authorization_endpoint=https%3A%2F%2Flogin.windows.net%2Fcommon%2Foauth2%2Fv2.0%2Fauthorize&api-version=1.0
12:52:24,660 root ERROR Failed to initialize Spark Lighter variables. HTTPSConnectionPool(host='login.microsoftonline.com', port=443): Max retries exceeded with url: /common/discovery/instance?authorization_endpoint=https%3A%2F%2Flogin.windows.net%2Fcommon%2Foauth2%2Fv2.0%2Fauthorize&api-version=1.0 (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain (_ssl.c:1007)')))
12:52:24,660 root INFO Registering Spark Lighter magics for IPython...
12:52:24,661 root INFO Registered Spark Lighter magics for IPython.

 

Did I answer your question? Mark my post as a solution!
Proud to be a Super User!
My custom visualization projects
Plotting Live Sound: Viz1
Beautiful News:Viz1, Viz2, Viz3
Visual Capitalist: Working Hrs
Anonymous
Not applicable

Hi @smpa01 Are you querying from a normal lakehouse or a dataflow Gen2 staging lakehouse?

@Anonymous  I can confirm that is from a normal lakehouse.

Did I answer your question? Mark my post as a solution!
Proud to be a Super User!
My custom visualization projects
Plotting Live Sound: Viz1
Beautiful News:Viz1, Viz2, Viz3
Visual Capitalist: Working Hrs
Anonymous
Not applicable

Hi @smpa01 

 

Can you check in another SparkLighter.log file that whether the remote spark session has been created successfully? If a remote session has been created successfully, you will see something like below. It returns a spark session id. 

vjingzhanmsft_0-1727429019334.png

 

Otherwise you may refer to my settings in this thread. It might be helpful. 

 

Best Regards,
Jing

@Anonymous  before I try out the settings, I can confirm that for all my notebook logs I only see the following and there is no SparkLighter.log

 

smpa01_0-1727433658567.png

 

Did I answer your question? Mark my post as a solution!
Proud to be a Super User!
My custom visualization projects
Plotting Live Sound: Viz1
Beautiful News:Viz1, Viz2, Viz3
Visual Capitalist: Working Hrs

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June FBC25 Carousel

Fabric Monthly Update - June 2025

Check out the June 2025 Fabric update to learn about new features.