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 Platform Community / Forums / Power Automate / Massive log files in P...
Power Automate
Answered

Massive log files in ProgramData\Microsoft\Power Automate\Logs

(0) ShareShare
ReportReport
Posted on by 150

I used TreeSize to find out where all my disk space went on my PC since my PAD processes started crashing due to a full hard drive.

 

Of my 394 GB SDD, a whopping 271 GB is being used by 3 days of logs in the ProgramData\Microsoft\Power Automate\Logs directory!

 

Anyone find a solution for this problem? I saw another thread about logs building up in the AppData directory, but this is a different problem.

 

ApexOrigin_0-1668577050037.png

 

I have the same question (0)
  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    I don’t necessarily have a solution, but thanks for the heads up. I’ve been having storage issues since I started a bot that runs 24/7 5 days a week and I didn’t know what was causing it. 

    if this is the case, I would build in, at least to my bot, a check on this file size and come up with a way to open it and cut it down. I wonder if there could be some setting to limit the number of days or size limit it keeps.

  • ApexOrigin Profile Picture
    150 on at

    Well, PAD was busy last night, and now the logs are up to 295 GB!

     

    I am on a physical machine. Imagine if I was paying the high price for storage on a virtual in Azure.

     

    Microsoft needs to fix this instead of me making a process to delete the log files hopefully without bombing the automations. I'll open up a ticket.

  • ApexOrigin Profile Picture
    150 on at

    Just as an FYI, there are over 150,000 log files in that one directory.

     

    Can someone else do a quick check and let us know how big that directory is on your machine?

     

  • ApexOrigin Profile Picture
    150 on at

    FYI, I found this thread with the sale problem from over a month ago:

     

    https://powerusers.microsoft.com/t5/Power-Automate-Desktop/Power-Automate-Logs-Spamming-problem/m-p/1826710#M19318

     

    It shows as solved, but there's no confirmation of a solution from Microsoft, and no details on their temporary workaround of how to automatically delete the files.

     

     

  • kostasc Profile Picture
    Microsoft Employee on at

    Hey,

    A fix is included in the latest release.

  • ApexOrigin Profile Picture
    150 on at

    Thank you for your reply. What is the latest release number?

     

    I am on 2.25.72.22312, and it says I have the latest version when I try to update, but I still have the log problem.

  • Verified answer
    kostasc Profile Picture
    Microsoft Employee on at

    The latest version is 2.26. You should be getting an update notification by Friday, or if you want you can download the latest version from the portal directly (My flows -> Install) 

  • ApexOrigin Profile Picture
    150 on at

    Thanks Kostasc.

     

    I installed the 2.26 version, deleted all the log files that were not locked and in use, and we'll see how it goes.

     

    How big should the folder get? After deleting all the unlocked log files, I still have over 12,000 log files and 23+ GB of log data. That seems excessive.

  • ApexOrigin Profile Picture
    150 on at

    Even with the new version, the log files are still increasing at an alarming rate. In just 7 mins, it went up 100 MB and 14 files. I don't think you guys fixed the problem. Did you even test it?

     

    ApexOrigin_0-1668705371860.png

    ApexOrigin_1-1668705381798.png

     

  • ApexOrigin Profile Picture
    150 on at

    I take back all the horrible things I said. PAD finally cleaned up its log files overnight. The folder size dropped from 24 GB to just 500 MB. The file count also dropped from 12K to under 1K. 

     

    That's more like it!

     

    ApexOrigin_0-1668781631337.png

     

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 246 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 176

#3
Haque Profile Picture

Haque 157

Last 30 days Overall leaderboard