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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
FurkanSa
Regular Visitor

Write data to Lakehouse via c# with REST API

Hello Data Fam,

We need to write our data directly to a Lakehouse from C# via an API.
The API owner needs to implement the write functionality, and we cannot just send a GET request to them.

Is this possible? I’ve seen some REST API connections, but I couldn’t get it to work.
Has anyone tried this before?

Thanks a lot!

1 ACCEPTED SOLUTION
v-karpurapud
Community Support
Community Support

Hi @FurkanSa 
Thank you for your question on the Microsoft Fabric Community Forum.

 

At this time, there is no REST API endpoint available for writing data directly into a Microsoft Fabric Lakehouse table, such as a POST /tables call. The recommended approach is to use the OneLake REST API, which is compatible with Azure Data Lake Storage Gen2. You can upload files (CSV, Parquet, JSON, etc.) to the Lakehouse’s Files or Tables directory by sending authenticated PUT requests from C# after obtaining an Azure AD access token. Once the data is uploaded, you can leverage Fabric services such as Spark, SQL, or Dataflows to transform these files into structured Lakehouse tables (Delta format). This method is fully supported and aligns with Microsoft Fabric’s architecture. For your use case, it is advisable for the API owner to implement write operations using the OneLake REST API with Azure AD authentication, rather than unsupported POST calls to Fabric APIs.

 

I hope this information is helpful. . If you have any further questions, please let us know. we can assist you further.

 

Regards,

Microsoft Fabric Community Support Team.

View solution in original post

3 REPLIES 3
v-karpurapud
Community Support
Community Support

Hi @FurkanSa 

Just checking in as we haven't received a response to our previous message. Were you able to review the information above? Let us know if you have any additional questions.

Thank You.

v-karpurapud
Community Support
Community Support

Hi @FurkanSa 

I wanted to check if you’ve had a chance to review the information provided. If you have any further questions, please let us know. Has your issue been resolved? If not, please share more details so we can assist you further.

Thank You.

v-karpurapud
Community Support
Community Support

Hi @FurkanSa 
Thank you for your question on the Microsoft Fabric Community Forum.

 

At this time, there is no REST API endpoint available for writing data directly into a Microsoft Fabric Lakehouse table, such as a POST /tables call. The recommended approach is to use the OneLake REST API, which is compatible with Azure Data Lake Storage Gen2. You can upload files (CSV, Parquet, JSON, etc.) to the Lakehouse’s Files or Tables directory by sending authenticated PUT requests from C# after obtaining an Azure AD access token. Once the data is uploaded, you can leverage Fabric services such as Spark, SQL, or Dataflows to transform these files into structured Lakehouse tables (Delta format). This method is fully supported and aligns with Microsoft Fabric’s architecture. For your use case, it is advisable for the API owner to implement write operations using the OneLake REST API with Azure AD authentication, rather than unsupported POST calls to Fabric APIs.

 

I hope this information is helpful. . If you have any further questions, please let us know. we can assist you further.

 

Regards,

Microsoft Fabric Community Support Team.

Helpful resources

Announcements
September Fabric Update Carousel

Fabric Monthly Update - September 2025

Check out the September 2025 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.

Top Kudoed Authors