Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

Problem when I try to rename a folder

(0) ShareShare
ReportReport
Posted on by 7

Hi,

 

When I tried to rename a folder, which i know exits because I take the Id one step earlier, the flow fail and give the error "archive not found:"

tempsnip10.png

Captura.PNG

 

If I put the url that comes out in the source field in the browser does not give me any error and shows the different attributes of the folder:

tempsnip104.png

 

 

I dont know what is hapennig so any help will be wellcome.

 

Thanks

  • manuelstgomes Profile Picture
    6,625 on at
    Re: Problem when I try to rename a folder

    HI @DiegoFM 

     

    This is a bit of a workaround but it works all the time. Since there's no decent way to rename files I copy them with the new name and delete the old files.

     

    Here's the Power Automation:

    2019-12-23 14_12_08-Edit your flow _ Power Automate.png

     

    Take care of special characters in the path by using this formula:

    replace(replace(replace(variables('DESTINATION_FOLDER'), '/', '%252f'), ' ', '%2b'), '&', '%26')

     

    Is this what you need?

     

    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.

    Cheers
    Manuel

  • DiegoFM Profile Picture
    7 on at
    Re: Problem when I try to rename a folder

    Give me the same problem.

  • v-litu-msft Profile Picture
    on at
    Re: Problem when I try to rename a folder

    Hi @DiegoFM,

     

    You can use the following method to rename the folder:

    Annotation 2019-12-10 113013.png

     

    Best Regards,
    Community Support Team _ Lin Tu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,702 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,015 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow