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 / Rename file(s) action ...
Power Automate
Answered

Rename file(s) action suddenly erroring out after upgrading: "Folder doesn't exist"

(0) ShareShare
ReportReport
Posted on by 103

I've had a flow running for a few months working flawlessly. Something was wrong with the machine this flow was running on and now I've switched it over to a Windows Server 2019 OS with the same user credentials logging in and running the flow.

 

No changes were made to this flow yet suddenly the flow will no longer run erroring out on the action "Rename file(s)" with "Folder doesn't exist". This folder it's working out of most certainly does exist so I'm not sure what's going on.

 

This is the action:

 

rmortier_1-1655317144069.png

 

I tried adding in a message box with the same path to debug and it definitely generates the path to the correct location. If I paste the result into Windows Explorer it opens the file. What could possibly be going wrong?

 

Error details:

 

Microsoft.Flow.RPA.Desktop.Modules.SDK.ActionException: Folder doesn't exist ---> System.IO.DirectoryNotFoundException: Could not find a part of the path.
 at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
 at System.IO.File.InternalMove(String sourceFileName, String destFileName, Boolean checkHost)
 at Microsoft.Flow.RPA.Desktop.Modules.File.Actions.RenameFilesAction.Execute(ActionContext context)
 --- End of inner exception stack trace ---
 at Microsoft.Flow.RPA.Desktop.Modules.File.Actions.RenameFilesAction.Execute(ActionContext context)
 at Microsoft.Flow.RPA.Desktop.Robin.Engine.Execution.ActionRunner.Run(IActionStatement statement, Dictionary`2 inputArguments, Dictionary`2 outputArguments)

 

I have the same question (0)
  • Verified answer
    rmortier Profile Picture
    103 on at

    Figured out the issue...

     

    The new machine region was set to USA instead of Canada. USA uses slashes in their short date format which I was prepending to the file, but you can't have slashes in file names. I changed the region to Canada and the dashes are back and the flow runs correctly.

     

    rmortier_0-1655319263373.png

     

    rmortier_0-1655319359927.png

     

     

  • Ukiman1014 Profile Picture
    on at

    I just started having the same issue, but my machine's Region is as it should be (United States).  🤷🏻‍♂️

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 389

#2
Vish WR Profile Picture

Vish WR 331

#3
David_MA Profile Picture

David_MA 298 Super User 2026 Season 1

Last 30 days Overall leaderboard