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
priyankabishnoi
New Member

Synapse Vs code Plugin Unable to Sign in

I have intalled Visual Studio code and Synapse Vs code extension, when i go to command pallet to type Synapse:Sign in then after all the configuration a pop up window opens up to sign in to Fabric. The problem is that the url which it shows when i click on Sign in is pointing to localhost and some random port. I believe the Sign in button should point to Microsoft fabric lgin url. What do i need to do to acheive that. Also i see that some fabric kerels are created. How do i select them?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @mtucker 
This issue has been resolved. The issue was with the VS code settings with respect to proxy and certificates. 

View solution in original post

14 REPLIES 14
kdekarin
New Member

I solved this Problem by changing default browser from Edge to Chrome

priyankabis
Helper I
Helper I

Hi 

Also on re-reading your comment i double checked my environment and i saw msal was not installed. So i installed msal in my venv. But I see the same issue. Login screen keeps spinning and asks me for no user and password

priyankabis
Helper I
Helper I

Hi

 

After i click Synapse: Sign in  in command pallete the following browser opens

 

priyankabis_0-1716203048301.png

 

There is no prompt for me to enter any user name and password. 

 

This is the sign in the Vs code

priyankabis_1-1716203113321.png

 

 

My Kernels have been created see below in Synapse Spark IDE logs

 

priyankabis_2-1716203138126.png

 

Let me know if you need any more inputs

 

Anonymous
Not applicable

Hi @priyankabishnoi 
Thanks for using Fabric Community.
Synapse VS Code extension uses Microsoft Authentication Library (MSAL) to acquire token for users. When user clicks the 'Sign in' command, extension will initiate the MSAL process by listening on a localhost:port, and opens the system browser, where the user supplies the AAD credentials. Once user finishes login authorization in the window, MSAL server will send the auth token back to localhost:port, extension is listening on it so we can receive the response and get the token.
This is by design.Could you login to the extension? Can you please provide me the screenshot and explain what is happening?
And you should choose the Synapse Kernel in the notebook before running.


Hope this helps. Please let me know if you have any further questions.

 

I'm having the same issue, was a solution reached?

No

Anonymous
Not applicable

Hi @mtucker 
This issue has been resolved. The issue was with the VS code settings with respect to proxy and certificates. 

Hi All, 

 

I resolved the issue . There are some proxy and certificate issues in VS code which needs to be updated

 

Go to Settings-> Applications

Make Sure the following

  1. Proxy Strict SSL is unchecked
  2. Proxy Support is Off
  3. System Certificates unchecked

In Settings -> Security-> Workspace

  1. Trust:Empty Window is unchecked

 

Hope this hekps

I attempted this solution with no success. Any ideas what else can be done?

Check is popup blockers are installed. Because when you sign in then the browser will open a window

Yeah, that was it. One of my adblocks. Seems obvious in hindsight I suppose. I've given myself a facepalm. Thank you so very much!

Awesome

Hi 

 

Not sure if you saw the details i posted as priyankabis. The login page is not opening. Is there a way to check what is missing. I tried connecting using msal directly in one of the python notebooks. I found that the redirectiin ur is not set to localhost. But why Synapse Sign in is not showing that problem. Why dont I get the userId and password prompt on Synase Sign in

Anonymous
Not applicable

Hi @priyankabis 
I have requested some details in the private messages. Can you please provide the same?
Thanks

Helpful resources

Announcements
Fabric July 2025 Monthly Update Carousel

Fabric Monthly Update - July 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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