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
    100 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

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 391

#2
11manish Profile Picture

11manish 276

#3
David_MA Profile Picture

David_MA 256 Super User 2026 Season 1

Last 30 days Overall leaderboard