web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Automate
Unanswered

undefined

(0) ShareShare
ReportReport
Posted on by 24

Anyone could you please help me to create a log file in power automate desktop.

I have the same question (0)
  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    Use Write text to file or Write to CSV file to create a log file. Put it into a subflow that you call whenever you want to log something.

     

    Also, depending on what you want to log, you might also want to get a timestamp using Get current date time and include that into the log.

  • CU16071609-1 Profile Picture
    6,255 Moderator on at

    I aligned with @Agnius' response. In addition to the "Write to CSV file" option, we can utilize the Log message action to log any details. If you prefer a separate file, you can also use an "Excel file/SharePoint list" or even you create your own custom logging mechanism using "custom action SDK" for logging flow processing details. 

  • Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    Log message does not create a log file. It logs the message into the flow run action details in the cloud, which is pretty much useless, as it will get lost within all the other logs. Also, it is a premium feature.

  • CU16071609-1 Profile Picture
    6,255 Moderator on at

    @Agnius - I completely agree. That's why I suggested utilizing the log message action to capture any details and provided alternative options if the user prefers separate log files. Your point resonates with me. Additionally, I've heard from some sources that if we use the log message action, only the last 10K records are displayed in the Power Automate portal. Is that correct?

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 276 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 169

#3
Haque Profile Picture

Haque 154

Last 30 days Overall leaderboard