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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
VinceHe
Regular Visitor

Processing JSON Data with Azure Functions and Storing in Microsoft Fabric Lakehouse

Hello everyone,

I’m receiving JSON data via a POST request and would like to process it using an Azure Function, which is triggered via an HTTP request, so that I can store the data in my Lakehouse in Microsoft Fabric.

  • Which approach makes the most sense here?
    Should the Azure Function read the body of the POST request and pass it to a pipeline in Fabric, which would then process the JSON structure and append it to an existing table?
  • Or, should the Azure Function store the JSON as a file in the Lakehouse, and then trigger a pipeline once a day to process the newly added JSON files?

I think both methods could work, but I'm not sure how to create the Azure Function to receive the POST request via the HTTP trigger and hand the data off to Fabric.

 

Does anyone have tips on how to approach this?

1 ACCEPTED SOLUTION
v-nmadadi-msft
Community Support
Community Support

Hi @VinceHe,
Thanks for reaching out to the Microsoft fabric community forum.

To determine the best approach, it's essential to consider the pipeline's objective. If the pipeline involves transforming the JSON structure, the first approach would be the preferred choice.

With the second approach, the pipeline is triggered once and processes all uploaded JSON structures in a batch. In contrast, the first approach enables real-time updates as data is received.

Please choose the approach that best aligns with your requirements, considering the points mentioned above.

Attached below is the Functions activity in pipeline reference document:
 Functions activity - Microsoft Fabric | Microsoft Learn
Hoping this document will help you to build any of the approach you will decide upon.

If you find this post helpful, please mark it as an "Accept as Solution" and consider giving a KUDOS.
Thanks and Regards

View solution in original post

2 REPLIES 2
v-nmadadi-msft
Community Support
Community Support

Hi @VinceHe,

May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.

Thank you.

v-nmadadi-msft
Community Support
Community Support

Hi @VinceHe,
Thanks for reaching out to the Microsoft fabric community forum.

To determine the best approach, it's essential to consider the pipeline's objective. If the pipeline involves transforming the JSON structure, the first approach would be the preferred choice.

With the second approach, the pipeline is triggered once and processes all uploaded JSON structures in a batch. In contrast, the first approach enables real-time updates as data is received.

Please choose the approach that best aligns with your requirements, considering the points mentioned above.

Attached below is the Functions activity in pipeline reference document:
 Functions activity - Microsoft Fabric | Microsoft Learn
Hoping this document will help you to build any of the approach you will decide upon.

If you find this post helpful, please mark it as an "Accept as Solution" and consider giving a KUDOS.
Thanks and Regards

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.