The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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?
Solved! Go to Solution.
Hi @mtucker
This issue has been resolved. The issue was with the VS code settings with respect to proxy and certificates.
I solved this Problem by changing default browser from Edge to Chrome
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
Hi
After i click Synapse: Sign in in command pallete the following browser opens
There is no prompt for me to enter any user name and password.
This is the sign in the Vs code
My Kernels have been created see below in Synapse Spark IDE logs
Let me know if you need any more inputs
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
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
In Settings -> Security-> Workspace
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
Hi @priyankabis
I have requested some details in the private messages. Can you please provide the same?
Thanks