Forum Discussion

jjaeger94's avatar
jjaeger94
Helper II
2 years ago
Solved

Error When Attaching Environment to Notebook

After attaching a new environment to my Notebook, I can no longer access my files in the lakehouse through the abfss:// link without getting the following error:

ValueError: unable to connect to account for Must provide either a connection_string or account_name with credentials!!

 

This does not happen when using the default environment 

  • mssparkutils.fs.mount("abfss:// path","/lakehouse/name")
    and mssparkutils.fs.getMountPath("/lakehouse/name") + "actual file name and path")
    ended up resolving the issue.

3 Replies

  • mssparkutils.fs.mount("abfss:// path","/lakehouse/name")
    and mssparkutils.fs.getMountPath("/lakehouse/name") + "actual file name and path")
    ended up resolving the issue.
    • jjaeger94's avatar
      jjaeger94
      Helper II

      Still not sure why the custom environment behavior differs from the default environment.

  • v-cboorla-msft's avatar
    v-cboorla-msft
    Microsoft Employee

    Hi jjaeger94 

     

    Thanks for using Microsoft Fabric Community.

    Apologies for the inconvenience.

    Please reach out to our support team to gain deeper insights and explore potential solutions. It's highly recommended that you reach out to our support team. Their expertise will be invaluable in suggesting the most appropriate approach.

    Please go ahead and raise a support ticket to reach our support team:

    https://support.fabric.microsoft.com/support

    After creating a Support ticket please provide the ticket number as it would help us to track for more information.

     

    Thank you.