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

Join us at FabCon Vienna from September 15-18, 2025, for the ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM. Get registered

Reply
girishtharwani2
Helper II
Helper II

Logic app in Fabric

Hi,

 

I am trying to execute the logic app which parses JSON and sends a mail in tabular format.

The logic app works well when executed with synapse pipeline however same logic app with same parameters are giving error in fabric ADF.

girishtharwani2_0-1737824701493.png

Can someone please assist.

 

Thanks,

Girish

1 ACCEPTED SOLUTION

Hi @girishtharwani2 

 

Thanks for getting back.

 

I think from the first screenshot and this Fabric screenshot it is clear that Fabric is sending text and Logic app is expecting Json, and thats why failed.

 

In Fabric Data Pipelines, you can override the “Content-Type” header by adding it in the Settings for your Web activity. First, add a Web activity to your pipeline. Then select the activity, go to the Settings tab, and configure headers. Create a header named `Content-Type` and set its value to `application/json` so that Logic Apps or similar endpoints recognize the request as JSON.


Hope this is will resolve the issue. 

Please accept this solution and give kudos if this is helpful 

Thanks

View solution in original post

5 REPLIES 5
girishtharwani2
Helper II
Helper II

Authentication method is anonymous in both platforms and there is no change in data or data formats.

One thing I noticed it content type got changed while calling from fabric: -

girishtharwani2_0-1737870279810.png

 

Any leads how to resolve it ?

 

Thanks,

Girish

Hi @girishtharwani2 

 

Thanks for getting back.

 

I think from the first screenshot and this Fabric screenshot it is clear that Fabric is sending text and Logic app is expecting Json, and thats why failed.

 

In Fabric Data Pipelines, you can override the “Content-Type” header by adding it in the Settings for your Web activity. First, add a Web activity to your pipeline. Then select the activity, go to the Settings tab, and configure headers. Create a header named `Content-Type` and set its value to `application/json` so that Logic Apps or similar endpoints recognize the request as JSON.


Hope this is will resolve the issue. 

Please accept this solution and give kudos if this is helpful 

Thanks

Thank you very much for your assistance and saving a day.

It worked like a charm.

 

Thanks,

Girish

nilendraFabric
Community Champion
Community Champion

Hello @girishtharwani2 

 

Logic App that is successfully invoked from Azure Data Factory (ADF) can also be invoked from a Microsoft Fabric Data Pipeline. Both platforms use similar mechanisms for invoking external services, such as HTTP requests via “Web Activities.”

 

Could you please share the authentication method in both platforms please.

 

and could you confirm there are no changes in data format etc

 

thanks

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June FBC25 Carousel

Fabric Monthly Update - June 2025

Check out the June 2025 Fabric update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.