question

MarkJZYeap-8668 avatar image
0 Votes"
MarkJZYeap-8668 asked MarkJZYeap-8668 commented

How to write a raw data to a file in Azure logic apps?

Please advice.

azure-logic-apps
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello @MarkJZYeap-8668, Thank you for reaching out. Could you please elaborate more on your workflow? Like what type of File storage you are using and is the storage on-prem or on Azure? How is the raw data obtained?
If you are thinking of creating the file on Azure Blob Storage, you can explore the Blob storage connector for Azure Logic App.


0 Votes 0 ·
MarkJZYeap-8668 avatar image MarkJZYeap-8668 ChaitanyaNaykodiMSFT-9638 ·

Scenario is:

1) Encrypted data is decrypted using Decryption Key in Logic App;

2) Decrypted data needs to be pushed to Sharepoint.

What I need to find out is:

1) After decryption, is the output a text file OR a stream of decrypted data;

2) If the output is a stream of decrypted data, is there another way to rewrite it to a file other than using C# function (Azure Function App)

0 Votes 0 ·

1 Answer

ChaitanyaNaykodiMSFT-9638 avatar image
0 Votes"
ChaitanyaNaykodiMSFT-9638 answered MarkJZYeap-8668 commented

Hello @MarkJZYeap-8668, Thank you for providing the information above.

  1. You can use the content type header to infer the content type and use a conditional statement to have different workflow for each condition.

  2. You can use Create File action of Sharepoint connector to upload the stream. You can enable chunking for large messages, just be aware of general limitations for Logic App.

Please let me know if this does not satisfy you requirements, I will be glad to continue with our discussion. Thank you!



· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thank you for the answer!

0 Votes 0 ·