You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Did some small textual changes to correct a statement on having to be a global admin to enable a site scoped feature and removed the quotes from the PnP PowerShell commands as these can be found confusing and copied along.
Copy file name to clipboardExpand all lines: docs/declarative-customization/site-theming/sharepoint-site-theming-overview.md
+8-10Lines changed: 8 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -67,36 +67,34 @@ For the simplest experience, we recommend that you use modern themes with modern
67
67
68
68
The modern site theming experience has been rolled out to classic site templates, too. While the new client-side theming architecture is more performant, if you have customizations on classic sites that aren’t rendering properly after you change the site’s theme, you can opt the site out of the new theming experience by disabling the feature. Please note, this opt-out only applies to classic sites where you have custom theme references that aren't rendering properly. By enabling this site-level opt-out you will disable the modern theming - and also lose the fast theming benefits it provides.
69
69
70
-
To do this, you must use a Windows PowerShell script with a CSOM (client-side object model) wrapper. We recommend using the PnP enable feature command:
70
+
To do this, you must use a Windows PowerShell script with a CSOM (client-side object model) wrapper. We recommend using the PnP PowerShell enable feature command:
71
71
72
72
1. Verify that you meet the following minimum requirements:
73
-
* You are a global administrator.
74
-
* You have read about [Execution Policies](https://technet.microsoft.com/library/dd347641.aspx).
73
+
* You are at least a site collection owner on the site where you want to disable modern site themes
74
+
* You have read about [Execution Policies](https://technet.microsoft.com/library/dd347641.aspx)
75
75
76
76
2. Download the latest PnP PowerShell from https://github.com/SharePoint/PnP-PowerShell/releases.
77
77
78
-
3. Enter `Connect-PnPOnline -Url <SiteUrl> -Credentials getCredentials` (replacing `<SiteUrl>` with the url of the site you wish to opt out of).
78
+
3. Enter `Connect-PnPOnline -Url <SiteUrl> -UseWebLogin` (replacing `<SiteUrl>` with the url of the site you wish to opt out of).
79
79
80
80
4. Enter your credentials when prompted.
81
81
82
82
5. To opt out of the site, you need to enable a feature:
83
83
84
-
* Enter `“Get-PnPFeature -Scope Site -Identity 5138468E-3D76-4F72-9DE4-E029F1245A7B”`
84
+
* Enter `Get-PnPFeature -Scope Site -Identity 5138468E-3D76-4F72-9DE4-E029F1245A7B`
85
85
* Verify that nothing is returned from the previous command (this confirms the feature isn’t enabled yet)
86
-
* Enter `“Enable-PnPFeature -Scope Site -Identity 5138468E-3D76-4F72-9DE4-E029F1245A7B”`
87
-
* Enter `“Get-PnPFeature -Scope Site -Identity 5138468E-3D76-4F72-9DE4-E029F1245A7B”`
86
+
* Enter `Enable-PnPFeature -Scope Site -Identity 5138468E-3D76-4F72-9DE4-E029F1245A7B`
87
+
* Enter `Get-PnPFeature -Scope Site -Identity 5138468E-3D76-4F72-9DE4-E029F1245A7B`
7.For more information about Windows PowerShell, see [PowerShell](https://docs.microsoft.com/powershell/scripting/powershell-scripting?view=powershell-6).
93
+
For more information about Windows PowerShell, see [PowerShell](https://docs.microsoft.com/powershell/scripting/powershell-scripting?view=powershell-6).
94
94
95
95
## See also
96
96
97
97
*[SharePoint site theming: JSON schema](sharepoint-site-theming-json-schema.md)
98
98
*[SharePoint site theming: PowerShell cmdlets](sharepoint-site-theming-powershell.md)
99
99
*[SharePoint site theming: CSOM API](sharepoint-site-theming-csom.md)
100
100
*[SharePoint site theming: REST API](sharepoint-site-theming-rest-api.md)
0 commit comments