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

Get Fabric certified for FREE! Don't miss your chance! Learn more

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
Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Free Fabric Certifications

Free Fabric Certifications

Get Fabric certified for free! Don't miss your chance.

January Fabric Update Carousel

Fabric Monthly Update - January 2026

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.