Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

Folder name update not working

(0) ShareShare
ReportReport
Posted on by 210

I have been searching for several hours now to solve my flow problem. It's a flow to rename an archive folder and I can't seem to fix it.

Below is the capture of the flow.
I initially had a problem with the URL and finally opted for dynamic content.

Now, I no longer have an error but the name of the folder does not update

When I look at the test body,  I get null

Can you help me for this flow?

Snag_16e8b34.png

 

  • Ulysse4733 Profile Picture
    210 on at
    Re: Folder name update not working

    Snag_859d1.png

     

    The trigger is the modification of an element.

    For the test, I conditioned the triggering of the flow to a column of text. If it is empty: nothing to do. If it is not empty: the flow starts.

    In practice, I would like to trigger the flow when the title column is modified or when a Yes/No column is modified.

  • Ellis Karim Profile Picture
    10,927 Super User 2025 Season 1 on at
    Re: Folder name update not working

    What is the trigger used in the flow?

    What change should trigger the flow? eg. change of date? new file created? 

     

    Ellis

  • Ulysse4733 Profile Picture
    210 on at
    Re: Folder name update not working

    Great it works perfectly.

    Thank you very much for your help.

    on the other hand I notice that my flow is constantly running while the trigger is the modification of an element of the list .. weird

  • Verified answer
    Ellis Karim Profile Picture
    10,927 Super User 2025 Season 1 on at
    Re: Folder name update not working

    Hi @Ulysse4733 ,

     

    You could try the following method that uses the SharePoint item ID to rename the folder. In the example below the folder "Another Demo Library" has the ID of 72. The flow will rename this folder (item ID=72) to "Renamed Folder":

     

    Snag_1e9aa271.png

    This is the HTTP request:

    Snag_1e9aecf7.png

    Here is the folder being renamed to "Renamed Folder"

    2022-09-09_15-01-53.gif

    _api/web/lists/GetbyTitle('Another Demo Library')/items(72)/validateUpdateListItem
    
    {
     "formValues": [
     {
     "FieldName": "FileLeafRef",
     "FieldValue": "Renamed Folder"
     }
     ]
    }

    Hope this helps.

     


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

  • Muralidharan Profile Picture
    340 on at
    Re: Folder name update not working

    To keep it simple, for the action, click the question (?) mark and it open right side help text. 

    Click the Microsoft documentation link and I will understand the action details that you're using it. 

     

    muralidharan_1-1662730913615.png

     

    Thanks,

    Murali.

     

     

  • Ulysse4733 Profile Picture
    210 on at
    Re: Folder name update not working

    yes but how do I translate my flow page into English

  • Muralidharan Profile Picture
    340 on at
    Re: Folder name update not working

    Hi @Ulysse4733 ,

    I would like to help you for this issue. Can you please share the images in English version?

     

    Thanks,

    Murali.

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