An Azure service that offers file shares in the cloud.
@CarmeloLoPresti-2973 I'm glad that issue got resolved and thank you for posting the solution so that others experiencing the same thing can easily reference this! Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others ", I'll repost your solution in case you'd like to "Accept " the answer.
Issue: The CarmeloLoPresti-2973 is seeking assistance with a problem involving a Standard Logic App. They are attempting to copy an email attachment to Azure Files Storage using the "In App" Connector for Create File. While the attachment is successfully making its way to Azure File Share, it is either corrupt or overwritten with incorrect information. The user is experiencing issues with opening .jpg files and Excel files, where the contents are replaced with file properties. Additionally, attempts to add certain dynamic content result in the automatic addition of two additional "For Each" loops, which is unexpected. The user mentions that the Standard Logic App is using outbound vnet integration, and the Azure File Share is behind a private endpoint, with confirmed network communication.
Solution: The File Content needs to be converted as below:
Please let us know if you have any further queries. I’m happy to assist you further.
Please remember to "Accept Answer" if any answer/reply helped, so that others in the community facing similar issues can easily find the solution.