Fix “There was an error while attempting to get the themes” Error in SharePoint Online

Problem: When trying to change the site theme in SharePoint Online through “Settings >> Change the Look >> Theme,” I got an error message “There was an error while attempting to get the themes”. Workaround: You may encounter this issue when you make multiple changes to the site’s look and feel, like…

Read more

SharePoint Online: Apply Modern Theme using PowerShell

Requirement: Change the site theme in SharePoint Online. How to apply theme in SharePoint Online? In SharePoint Online, Themes are responsible for colors in various site elements. To align with your organization’s branding guidelines, you can create and apply a theme in SharePoint Online. There is a set of default site themes…

Read more

SharePoint Online: Apply Theme using PnP Provisioning Template PowerShell

Requirement: Set Theme in SharePoint Online Site using PnP PowerShell Provisioning Template. How to Change the Site Theme in SharePoint Online using PnP Provisioning Template? Go to the PnP Provisioning Schema repository in GitHub and build your provisioning template. https://github.com/SharePoint/PnP-Provisioning-Schema, Here is mine: Provisioning Template Schema XML for Theme: Make necessary changes…

Read more

SharePoint Online: Remove a Custom Theme using PowerShell

Requirement: Remove a custom theme in SharePoint Online If you’ve ever customized your SharePoint Online site by adding a custom theme, you may have later decided that you don’t like the look and feel of the theme. Or maybe someone else in your organization has created a custom theme that you don’t…

Read more

SharePoint Online: How to Change Site Theme using PowerShell?

In SharePoint Online, you can customize the look and feel of your site by changing themes to reflect your corporate branding. A theme in SharePoint Online defines the colors, fonts, images, and page layout for the SharePoint sites. SharePoint provides a default set of site themes,  and we also have the ability…

Read more

SharePoint Online: How to Hide Default Themes?

Themes are quick ways to add branding to SharePoint Online sites. However, we wanted to restrict site owners from changing the themes for a uniform look and feel overall sites. Fortunately, SharePoint Online provides a cmdlet to hide default themes and enforce governance. PowerShell to Hide Default Themes in SharePoint Online Open…

Read more

SharePoint Online: How to Add New Custom Theme using PowerShell?

Requirement: Create a new Theme in SharePoint Online How to create a new color theme in SharePoint Online? SharePoint Online Modern sites (Teams, Communications, and Hub sites) provide a set of default themes (Blue, Orange, Red, Purple, Green, and Gray), which you can use to quickly change the look and feel or…

Read more

Composed Look Feature in SharePoint

Themes are the quick and easiest way to apply branding to SharePoint sites. Themes got changed over time in SharePoint’s history. Now from SharePoint 2013, Themes are redesigned as the “Composed Look” feature. As it sounds “Composed” look, it simply defines theming by combining design elements: Master page – AKA site layout,…

Read more

Remove Theme from Site in SharePoint 2013 using PowerShell

Requirement: To enforce consistency, We wanted to reset custom themes applied on SharePoint sites by end-users in our SharePoint environment. How to remove a theme in SharePoint using PowerShell? Here is how to remove the theme from SharePoint programmatically using PowerShell: This removes and resets to default SharePoint theme. The same script…

Read more