Forum Discussion

ritz's avatar
ritz
Advocate I
3 months ago
Solved

VSCode SQLServer Extension - Can't connect to Lakehouse endpoint

Hello, I've been using VSCode along with its SQL Server Extension to connect to the SQL Analytics endpoint of a Lakehouse in a Fabric Workspace that i have "Admin" role on.

 

Today while starting my daily work I am unable to connect to it and I have no idea why. Nothing has been changed setupwise but everytime I try to connect, it just pops-up the window to re-authenticate -> browser window open to login in microsfot -> then pop-up appears again in vscode -> loging again -> failure and message "mssql: Error 18456: Could not login because the authentication failed." and not more detail about what failed. 

 

I have tried creating new connection as well, and same error, when I try to 'Browse Fabric' is same thing. 

 

 

When I try in SSMS, by using the browse methog, i get a longer error but I still have no idea what it means

 

 

Anyone facing similar issues or that could help in this case?

  • Hi ritz,

    Thanks for clarifying. Since you're able to connect successfully through SQL Server Management Studio by manually entering the connection details, this confirms that the core connectivity is working as expected. The issue appears to be specific to the Browse Fabric experience in SSMS.

    As this seems separate from the MSSQL extension for Visual Studio Code issue you already reported in Visual Studio Code, please go ahead and report this behavior through the appropriate SSMS feedback/support channel so the relevant team can investigate it further. Sharing the exact error message, SSMS version, and screenshots/logs would be helpful.

    Thank you.

13 Replies

  • jayph's avatar
    jayph
    Regular Visitor

    This happens to me too since yesterday. Can't even connecto to Fabric SQL analytics endpoint via the MSSQL extensionin VsCode. This is so annoying. They must have changed something

      • jayph's avatar
        jayph
        Regular Visitor

        Awesome, thanks for the info, dowgraded to version 1.41.0 did work.

    • v-tejrama's avatar
      v-tejrama
      Community Support

      Hi ritz ,

       

      Thank you for providing the update. From your description, it appears that this issue is more likely related to the Fabric service rather than a local configuration problem, particularly since the connection previously worked and began failing without any changes on your end.

      The successful authentication prompt followed by Error 18456 indicates that the request is reaching the SQL endpoint but is being denied during the final validation step.

       

      Additionally, similar incidents have been reported by other users recently, which suggests a potential backend issue instead of something specific to your environment. If the problem persists, please consider checking the Fabric service health and submitting a support ticket to Microsoft with the correlation ID from the failed login attempt so their team can investigate further.

       

      For your reference, you can review Microsoft’s documentation on SQL analytics endpoint connectivity here: https://learn.microsoft.com/en-us/fabric/database/sql/sql-analytics-endpoint and Warehouse connectivity requirements here: https://learn.microsoft.com/en-us/fabric/data-warehouse/connectivity.

      Thank you.

  • Hi ritz

     

    Can you double check that you still have access to the workspace? That SSMS error is saying that you do not have permissions. 

    Maybe your access accidently got removed somehow? 
     

    • ritz's avatar
      ritz
      Advocate I

      Hello! Yes i've double checked and I can use the sql analytics endpoint in fabric no problem, i can query views, etc 

      • tayloramy's avatar
        tayloramy
        Super User

        Hi ritz

         

        Are you on the latest version of SSMS and have the latest versions of the SQL extensions?