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 a theme in SharePoint Online? In Microsoft SharePoint Online, Themes are responsible for colors in various site elements. Themes can create a consistent look and feel across multiple sites. To align with your organization’s branding guidelines, you can create and apply…

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? In order to apply a theme to a SharePoint Online site using a PnP Provisioning Template and PowerShell, you will need to complete the following steps: Step…

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 you want to…

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 Hiding…

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? A SharePoint Online theme is a collection of settings that you can use to adjust the appearance of your site. You can use themes to control the colors, fonts, and layout of your site….

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