Applies To

SharePoint Online


You are trying to apply your theme however they do not work as soon as you refresh your page after publishing ShortPoint Theme Builder changes or after publishing your SharePoint Site Theme


The solution here is to disable Client Side theme opt-out feature (ClientSideThemingOptOut) which has been opted for your site collection


  1. You are a Global Admin in your Office 365 tenancy 
  2. You have basic understanding of PowerShell
  3. You have read about Execution Policies


Step 1: Download and Install latest PnP SharePoint PowerShell from  

Please download SharePointPnPPowershellOnline.msi 

Please be aware that it might be different latest version for you depending on when you are reading this article

Please install it to have latest PnP SharePoint Modules installed to your machine.

Step 2:  Add PnP Feature to disable inheritance behavior

1. Run Windows PowerShell as Administrator

2. Connect to your site using Connect-PnPOnline command

Connect-PnPOnline -Url <Your site> -Credentials getCredentials

<Your site>:  Provide the site collection URL where you want to perform the action

3. Run following command and ensure you should get response

Get-PnPFeature -Scope Site -Identity 5138468E-3D76-4F72-9DE4-E029F1245A7B

Response you should receive

ClientSideThemingOptOut - 5138468e-3d76-4f72-9de4-e029f1245a7b

4. If you have got no results after running above command, it's good to perform next steps. 

5. Run following command

Disable-PnPFeature -Scope Site -Identity 5138468E-3D76-4F72-9DE4-E029F1245A7B

6. Let's again run command specified in point 3 above and you should receive no response (i.e. the feature is disabled now)

Get-PnPFeature -Scope Site -Identity 5138468E-3D76-4F72-9DE4-E029F1245A7B

That's it! You are done.

Animation of all steps