Creating Coloured Folders in SharePoint & OneDrive with Power Automate (Graph API)
Image Source:
SharePoint Online
Oct 15, 2023 6:33 AM

Creating Coloured Folders in SharePoint & OneDrive with Power Automate (Graph API)

by HubSite 365 about Dennis Goedegebuure (Expiscornovus) [MVP]

Senior Technical Consultant at Ultima Business Solutions | Microsoft MVP Business Applications

Pro UserSharePoint OnlineSharePoint OnlineLearning Selection

Elevate SharePoint and OneDrive experience with this Microsoft experts guide to creating and managing colored folders.

Creating & Managing Colored Folders in Microsoft 365

Adapting to our increasingly digital world, companies are constantly looking to make user interfaces more visually appealing and user-friendly. A recent blog post by Expiscornovus sheds light on one such initiative by Microsoft- colored folders in SharePoint Online and OneDrive.

Both of these platforms are part of the Microsoft 365 suite and are highly effective for document management and improving team collaborations. They come loaded with features, but the introduction of colored folders is especially charming. It provides a visually pleasing touch to an otherwise monotonous document management system.

"In Power Automate, the SharePoint Send HTTP Request flow action lets you construct and execute SharePoint REST API queries. This action is particularly useful in cases where the existing SharePoint flow actions do not handle your requirements, or the action you are looking for is not yet available in the SharePoint connector."

Creating & Managing Colored Folders with Graph API for PowerAutomate:

url: http://site url/_api/web/Folders/AddUsingPath(decodedurl='/document library relative url/folder name')
method: POST
Authorization: "Bearer " + accessToken
X-RequestDigest: form digest value
accept: "application/json;odata=verbose"
content-type: "application/json;odata=verbose"


Creating a new colored folder by Web Interface

Steps for SharePoint Online:

  • Navigate to the SharePoint Online document library
  • Click on the + New button on the document library command bar and select Folder
  • Give your new folder a name, choose your desired color under Folder color option and hit Create

Steps for OneDrive:

  • Go to your personal account in OneDrive for Business, select My Files from the left navigation pane
  • Click on + Add New button at the top-left corner and select Folder
  • Name your new folder, select a color under the Folder color option, and hit Create

Note that colored folders can only be viewed in My Files in OneDrive with the implementation of this feature.

Changing color of existing folders

The method applies to both SharePoint and OneDrive and can be executed from the folder context menu or through the rename folder option. Here are the steps:

  • Go to your SharePoint online document library or OneDrive
  • Locate the folder you want to change the color for
  • Select the folder and open the folder context menu – click on the ellipses (...) in List view OR right-click/second click on the folder in Tiles view
  • Use the Rename or Folder color options to update the folder color

Color Coding in General

Color-coding is an impactful tool for improving document management. It simplifies organization, boosts visual clarity, and encourages task prioritization, therefore making your digital workspace more efficient. It can be a game-changer for businesses that heavily rely on digital platforms.


Learn about Create Coloured Folder in SharePoint and OneDrive


In the rapidly progressing digital era, efficient management and organization of your files and folders are paramount. Microsoft 365 provides powerful tools for this purpose, SharePoint and OneDrive. This post explains how to create vibrant folders in these platforms to enhance user experience through visual clarity.

A new feature in SharePoint and OneDrive allows users to apply one of 16 colors to their folders. You can apply these colors to newly created or existing folders. For additional details about this feature, refer to Microsoft Roadmap ID 124980.

Creating a new colored folder in SharePoint is incredibly straightforward. Head to your SharePoint library and click on the + New button on the document library command bar. Then, select Folder, name your new folder, choose a color from the Folder color dropdown, and click Create. That's it – you've successfully made a new colored folder in SharePoint.

If you want to color a folder in OneDrive, the process is very similar. Navigate to your personal account in OneDrive and select My Files from the left navigation pane. Then, click on + Add New, choose Folder, name your folder, pick your desired color under the Folder color option, and click Create. Viola! You have a new colorful folder in OneDrive.

It's crucial to note that colored folders are only visible in My Files on OneDrive. If you want to change an existing folder's color, you can easily do so through the folder context menu or the rename folder option.

This powerful feature simplifies organizing folders, enhances visual clarity, and helps prioritize tasks. It can significantly improve your digital workspace's efficiency and aesthetics, regardless of whether you use SharePoint for team collaboration or OneDrive for personal file storage.

  • Easily create color-coded folders in both SharePoint and OneDrive.
  • These colors can be applied to both new and old folders.
  • You can even change the color of an existing folder directly from the menu.
  • This feature does not extend to Document Sets, and it does not propagate to subfolders inside.
  • The color of synchronized folders will remain the default yellow even if you color-code them in SharePoint or OneDrive.
  • It’s worth noting that any fight over picking colors for a Budget Folder should be admissible. It’s also important to remember that color travels with the folders when they’re moved or copied to a new location.

In conclusion, adding color to your SharePoint and OneDrive folders provides an effective method to enhance your document management experience. It simplifies organizing folders, provides visual clarity, and aids in task prioritization. This feature is another string in SharePoint's and OneDrive’s bow, making them more versatile for user needs.

While currently, there is no Conditional Formatting available with folders, Microsoft’s frequent updates suggest that it might not be far off. Nevertheless, these vibrant folders can help keep your tasks better aligned and your digital workspace more organized than ever before.

So why not give it a try? Color your folders in SharePoint and OneDrive today and explore the benefits of a visually pleasing and effectively organized document library. Happy coloring!


Create Coloured Folder, SharePoint, OneDrive, SharePoint Coloured Folder, OneDrive Coloured Folder, Create Folder SharePoint, Create Folder OneDrive, Customize SharePoint Folder, Customize OneDrive Folder, SharePoint OneDrive Customisation