Skip to main content

Notifications

Community site session details

Community site session details

Session Id : phW6spqFjoHSwWS7V1iCnG
Power Automate - Using Flows
Answered

File System - Append file; appending text to file not correct

Like (0) ShareShare
ReportReport
Posted on 30 Aug 2021 18:53:29 by 9

Hey all,

 

Have created a flow and wanted to add some verbose logging to a local log file as it runs for better tracking.  I have it connected to my local server using the On-Premises Data Gateway using the File System connector.  When I use the Append File, I use a string in the "File Content", but when it appends, it does not append the text, it appends what looks like Chinese or garbled characters.  Any assistance would be great.  I have looked up the MS doc on the connector, but didn't see anything helpful: https://docs.microsoft.com/en-us/connectors/filesystem/#append-file

 

subarunut_0-1630349302237.png

from the log file:

subarunut_1-1630349514122.png

 

 

Thank you

Ben

  • Verified answer
    subarunut Profile Picture
    9 on 01 Sep 2021 at 21:07:02
    Re: File System - Append file; appending text to file not correct

    I think I just found a way around it.  

     

    So I added a get file content to read in the file, then instead of appending the file, update the file:

    subarunut_0-1630530294774.png

     

     

    I also convert the string to binary

     

    subarunut_2-1630530351572.png

     

    The output formatting could use a little massaging, but at least the data is there and readable.  

     

  • rrovira Profile Picture
    Microsoft Employee on 01 Sep 2021 at 21:01:15
    Re: File System - Append file; appending text to file not correct

    You could try going to the MS Flow Portal here https://flow.microsoft.com/ and checking if your language configuration is set to English.

  • rrovira Profile Picture
    Microsoft Employee on 01 Sep 2021 at 20:59:23
    Re: File System - Append file; appending text to file not correct

    Hello, @subarunut!

     

    Well, honestly I don't really know why it's changing the language. You could check if Power Automate hasn't change the language configuration, or if the text is corrupted. Maybe recreating the flow to see if it's a bug. 

     

    Cheers, 

    Rodrigo

     

    If I find something that might give us some insight on why this is happening, I'll be sure to post it here! 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Automate - Using Flows

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 7 Super User 2025 Season 1

#2
vipuljain03 Profile Picture

vipuljain03 4

#3
VictorIvanidze Profile Picture

VictorIvanidze 2

Overall leaderboard

Featured topics

Restore a deleted flow