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 / Update a SharePoint cu...
Power Automate
Answered

Update a SharePoint custom field property with a HTTP REquest

(0) ShareShare
ReportReport
Posted on by 6

Hi,

 

I need to update a custom field property on en existing folder in SharePoint. I use an HTTP Request action for that but I cannot find the right parameter for the REST call:

 

2019-09-02 20_08_06-Edit your flow _ Microsoft Flow.png

I cannot use the "Update item" trigger since I already have another trigger (MS Forms).

 

Can anyone help me to find the correct parameters for this HTTP Request action?

 

Thank you!

Fab

Categories:
I have the same question (0)
  • v-litu-msft Profile Picture
    Microsoft Employee on at

    Hi @Fab2000,

     

    It may have some error with the Body, it should be "__metadata" : { "type": "SP.Data.LibraryNameItem"}.

    About how to work with a folder with Http request, you could refer to this document:

    https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/working-with-folders-and-files-with-rest#working-with-folders-by-using-rest

     

    And there is some easier way to do with this, you can use the Update file properties action.

    Flow Configuration:

    Annotation 2019-09-03 111637.pngRun Result:

    Annotation 2019-09-03 111827.png

     

    Annotation 2019-09-03 111854.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.

  • Fab2000 Profile Picture
    6 on at

    Hi, 

     

    Thank you for the prompt reply. 

     

    1. In my scenario, I don't have the folder ID since it is created automatically when the flow creates a Teams channel. Is there a way to grab the folder ID based on the folder name?
    2. If there is no way to find the folder ID, I'll try the HTTP Request. In the example you gave, how can I find the "real" odata.type to be used in the Body?

    Thank you,

    Fab

  • Verified answer
    v-litu-msft Profile Picture
    Microsoft Employee on at

    Hi @Fab2000,

     

    You can use the Get Files (properties only) action, the Filter array to find the folder named your Destination folder's name.

    Then add the Apply to each to put the output of the filter, use the item()?['ID'] to get the ID of the folder.

    Annotation 2019-09-03 180207.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.

  • Fab2000 Profile Picture
    6 on at

    Thank you very much, it works as described in your post!

     

    Fabien

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
Haque Profile Picture

Haque 308

#2
David_MA Profile Picture

David_MA 256 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 226 Most Valuable Professional

Last 30 days Overall leaderboard