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 / Getting SharePoint Fol...
Power Automate
Suggested Answer

Getting SharePoint Folder color

(0) ShareShare
ReportReport
Posted on by
I found an article that shows how to change the color of a SharePoint folder in a flow.
 
However, I want to query the color of a folder.
 
I created a library and created folders in it and assigned each a color.
 
I created a flow with the action "Get files (properties only)" to get all of the files and folders in that library.
 
One of the outputs of "Get files (properties only)" is "Color Tag", but it's always null.
 
I tried adding "Get folder metadata" action, but Color is not one of the outputs.
 
Any idea on how to get the color assigned to each folder?
 
Categories:
I have the same question (0)
  • Suggested answer
    Expiscornovus Profile Picture
    33,828 Most Valuable Professional on at
     
    Try the below HTTP request. That should return the folder names and the colorhex code.
     
    _api/web/lists/getbytitle('@{variables('LibraryName')}')/rootFolder/Folders?$expand=Properties&$select=Name,Properties/vti_x005f_colorhex
     
     
     
    Happy to help out 😁

    I share more #PowerAutomate and #SharePointOnline content on my Blog, Bluesky profile or Youtube Channel

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 589

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 284 Super User 2026 Season 1

Last 30 days Overall leaderboard