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

Problem: When trying to change site theme in SharePoint Online through “Settings >> Change the Look >> Theme” got an error message “There was an error while attempting to get the themes”. Workaround: When you do multiple changes to the site’s look and feel like changing header, icons, and themes in one…

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 elements of the site. To align with your organization branding guidelines, you can create and apply a theme in SharePoint Online. There is a set of default…

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. Remove a Theme in SharePoint Online Using PowerShell: We can remove a custom theme from SharePoint Online tenant using Remove-SPOTheme cmdlet SharePoint Online: PowerShell to Delete a Theme We can also use PnP PowerShell to remove a theme in SharePoint Online. If you remove…

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, image, 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 New Theme in SharePoint Online. How to create a new color theme in SharePoint Online? SharePoint Online Modern sites (Teams, Communications, and Hub sites) provides a set of default themes (Blue, Orange, Red, Purple, Green, and Gray), which you can use to quickly change the look and feel or appearance…

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? Remove theme programmatically using PowerShell! This removes and resets to default SharePoint theme. The same script works for SharePoint 2010 also to remove…

Read more