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: Create Site Design and Site Scripts using PowerShell

What is Site Design and Site Scripts in SharePoint Online? Site design and site scripts are the new way to create site templates in SharePoint Online. Say, you want to create sites with a specific theme, apply a logo, set regional settings, create a list or library in the site, add users,…

Read more

SharePoint Online: How to Change Suite Bar Color?

Requirement: Change suite bar color for SharePoint Online site. SharePoint Online: How to Customize Suite Bar Color? By default, the suite bar looks in a black or blue background, and changing the theme in modern sites doesn’t change the color or the top suite bar in SharePoint Online. To set the default…

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