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 / Updating folder names ...
Power Automate
Unanswered

Updating folder names when changing sharepoint list items

(0) ShareShare
ReportReport
Posted on by

Hi,

I am currently creating a sharepoint list that tracks employee on-boarding. I already created a flow that creates folders for every employee in a document library, and adds all attached files in those folders. The folders are named after the employees themselves. 

 

I am currently creating a seperate flow that tracks if the names of the employees are changed (due to a spelling error for example).

 

power_q1.png

With the ID and a custom expression, I manged to initialize the variable 'Old Name' using data from the previous version in sharepoint list. Than I use an if condition to check if the column variable 'Medenwerker' has been altered (aka the employee's name). If so, I use a Send HTTP request to try and replace the old folder name with the new folder:

power_q2.png

Most of the flow seems to work fine, but during the final step with the HTTP request, the flow takes an unusually long (like 12 minutes) to load before giving up. It keeps saying that "X retries occured". Most of the time it has 2 retries with a "BadGateway" status, and I cant figure out why this happens.

power_q3.png

power_q4.png

 

So how can I fix this issue? Maybe this isn't even the best way of going about things (ideally, it tracks other kinds of changes like removed attachments as well), so suggestions are very welcome!

 

Sincerely,

 

Jelmer

 

power_q1.png
power_q2.png
power_q3.png
Categories:
I have the same question (0)
  • jitheshk Profile Picture
    96 on at

    This generally happens when you are trying to access a resource which is already locked by another user/flow/or current flow. You need to find a way to release the resource, before your HTTP request, refer the blog post below this might help... 

    How to clear annoying Excel file locks in Power Automate – CleverWorkarounds

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 86 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 55

#3
Ellis Karim Profile Picture

Ellis Karim 53 Super User 2026 Season 1

Last 30 days Overall leaderboard