Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
jjaeger94
Helper II
Helper II

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 

1 ACCEPTED SOLUTION
jjaeger94
Helper II
Helper II

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

View solution in original post

3 REPLIES 3
jjaeger94
Helper II
Helper II

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

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

v-cboorla-msft
Microsoft Employee
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.

Helpful resources

Announcements
FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Fabric Update Carousel

Fabric Monthly Update - March 2026

Check out the March 2026 Fabric update to learn about new features.