Forum Discussion

Dragon496's avatar
Dragon496
Helper II
1 year ago
Solved

Notebook cannot access Lakehouse from visual studio code

Hello

I have been experimenting with trying to edit and run fabric notebooks (python and panda).

 

I believe I have installed all the necessary extensions, as detailed in:-

https://learn.microsoft.com/en-us/fabric/data-engineering/setup-vs-code-extension

I can successfully run and display data, made up within the code. However, if I modify the code to access data stored within a Lakehouse, then nothing is displayed.

Needless to say that the notebook code run successfully, within the browser, within fabric.

 

In visual studio code, if I go to the synapse table and try to expand files, in my Lakehouse, I receive

Requesting error 400 IncomingOperationUntrusted.

 

Can anybody advise?

 

Thanks

5 Replies

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

    Hi Dragon496 
    Welcome to the Microsoft Fabric Community Forum.
    Authentication tokens sometimes expires or don't sync correctly. Try signing out and back in VS code.

    Open vscode and give a try:

    CTRL + SHIFT + P > Fabric: Sign Out

    CTRL + SHIFT + P > Fabric: Sign In

     

    Verify you have installed the required extensions properly:

    • Microsoft Fabric Notebooks (check for the latest updates).
    • Python and Pandas extensions if you are using them.
    • Azure Synapse Analytics extension (if accessing tables).

    Try clearing the cache to remove any outdated authentication tokens.

     

    If the above information helps you, please give us a Kudos and marked the reply Accept as Solution.

    Thanks,
    Cheri Srikanth

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

    Hi Dragon496 
    We haven't heard from you since last response and just wanted to check whether the solution provided has worked for you. Feel free to reach out if you need any further assistance.
    If yes, please accept as solution to help others benefit. If not, feel free to reach out.
    Thank you.

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

    Hi Dragon496 

    I wanted to check if you had a chance to try the suggested solution.
    Please let us know if you need any further assistance.

    Looking forward to your update!

    Thank you.

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

    Hi Dragon496 
    We haven't heard from you since last response and just wanted to check whether the solution provided has worked for you. If yes, please accept as solution to help others benefit. If not, feel free to reach out.
    Thank you.