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 / Folder To Move Doesnt ...
Power Automate
Answered

Folder To Move Doesnt Exists - Only when folder name is less than 40 char and has no special characters but works otherwise

(0) ShareShare
ReportReport
Posted on by 9

I'm new to PAD and have been attempting to create a flow to rename folders so the names have no special characters and are less than 40 characters. Please see flow below:

1.PNGError in line 14Error in line 14

 

With the flow i have made it only works if the folder name contains a special character the the flow runs correctly however when the folder name is less than 40 characters and has no special characters i get an error stating "Folder to move does not exist"

 

With the following error:

Microsoft.Flow.RPA.Desktop.Modules.SDK.ActionException: Folder to move doesn't exist.
at Microsoft.Flow.RPA.Desktop.Modules.Folder.Actions.MoveFolder.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)
  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    So, you don’t need to move or rename this folder?  You could just say “on error, continue”, if you don’t need it to do that step. 

  • Benjiem Profile Picture
    9 on at

    Hi Michael,

     

    Thanks for the response. Because of the way i have set up the loop and file names i has to both rename then move the renamed folder. This was to make it run through all the subfolders starting from the first on the list to last as i couldnt figure out another way of getting it to do exactly what i wanted.

     

    Thanks

     

    Ben

  • Verified answer
    JonathanLee Profile Picture
    30 on at

    If you're still stuck, you can't rename a file to the same name it already has, try something like

     

    JonathanLee_0-1676295519608.png

     

  • Benjiem Profile Picture
    9 on at

    Thanks Jonathan, that makes a lot of sense. I just sat down to adjust it, going to implement your solution now. Honestly cant thank you enough

  • Benjiem Profile Picture
    9 on at
    sol1.PNG
    sol2.PNG
    sol3.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 274 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 175

#3
Haque Profile Picture

Haque 166

Last 30 days Overall leaderboard