Change HTTP request line endings in Logic App

10146592 1 Reputation point
2021-07-19T15:25:21.537+00:00

I have a logic app which listens for HTTP requests, takes the body and inputs the JSON object into Log Analytics as a custom source. Log analytics returns an error that the content has CRLF endings, which it cannot accept. Is there a way to modify what line endings are used? Serialize into a string, change the line endings and load it back into an object to push to log analytics? I can't change the line endings on the source of the request.

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,133 questions
Microsoft Sentinel
Microsoft Sentinel
A scalable, cloud-native solution for security information event management and security orchestration automated response. Previously known as Azure Sentinel.
1,135 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.