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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now

Reply
prathijp
Helper I
Helper I

How to read/write lakehouse files from Linux/python solution?

What are the best option for reading/writing files from/to lalehouse folders from othe VMs/linux boxes/python solutions?

What is the lease permission I can grant for app developers?

1 ACCEPTED SOLUTION
SaiTejaTalasila
Super User
Super User

Hi @prathijp ,

 

To read or write files from Lakehouse folders using Linux or Python, the best options are:

 

1. OneLake REST API - You can use Python (requests or httpx) to interact with OneLake endpoints for uploading, downloading, or listing files.

 

2. ABFS Paths - Lakehouse files are accessible via Azure Blob File System (ABFS). You can use Azure CLI or Python SDK (azure-storage-file-datalake) to connect and manage files from Linux environments.

 

3. Mounting via ADLS

 

Gen2-compatible tools - If your VM supports it, you can mount OneLake as a filesystem ateract with it like local storage(only on windows).

 

Thanks,

Sai Teja 

View solution in original post

4 REPLIES 4
v-echaithra
Community Support
Community Support

Hi @prathijp ,

Thank you @SaiTejaTalasila for your inputs.

May I ask if you have resolved this issue? Please let us know if you have any further issues, we are happy to help.

Thank you.

 

SaiTejaTalasila
Super User
Super User

Hi @prathijp ,

 

To read or write files from Lakehouse folders using Linux or Python, the best options are:

 

1. OneLake REST API - You can use Python (requests or httpx) to interact with OneLake endpoints for uploading, downloading, or listing files.

 

2. ABFS Paths - Lakehouse files are accessible via Azure Blob File System (ABFS). You can use Azure CLI or Python SDK (azure-storage-file-datalake) to connect and manage files from Linux environments.

 

3. Mounting via ADLS

 

Gen2-compatible tools - If your VM supports it, you can mount OneLake as a filesystem ateract with it like local storage(only on windows).

 

Thanks,

Sai Teja 

v-echaithra
Community Support
Community Support

Hi @prathijp ,

Thank you @ibarrau  for your input.

We’d like to follow up regarding the recent concern. Kindly confirm whether the issue has been resolved, or if further assistance is still required. We are available to support you and are committed to helping you reach a resolution.

Best Regards,
Chaithra E.

ibarrau
Super User
Super User

Hi. If you don't want to use Fabric web portal to work with the lakehouse, you can connect because it's an open format. Take a look at this doc and the others that continue for getting started: https://learn.microsoft.com/en-us/fabric/onelake/onelake-access-api

I hope that helps,


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

Helpful resources

Announcements
April Fabric Update Carousel

Fabric Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

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.