PnP-PowerShell
PnP-PowerShell copied to clipboard
Set-PnPSearchSettings not hiding Search on pages
Reporting an Issue or Missing Feature
Set-PnPSearchSettings doesn't remove Search box from pages.
Expected behavior
removes search box from pages.
Actual behavior
dos not remove search box from pages
Steps to reproduce behavior
Set-PnPSearchSettings -SearchBoxInNavBar Hidden -Force
Set-PnPSearchSettings -SearchBoxInNavBar Hidden -Scope Site -Force
When I retrieve the settings:
Get-PnPSearchSettings
Classic Search Center URL :
Redirect search URL :
Site Search Scope : DefaultScope
Site collection search box visibility : Hidden
Site search box visibility : Hidden
Which version of the PnP-PowerShell Cmdlets are you using?
- [ ] PnP PowerShell for SharePoint 2013
- [ ] PnP PowerShell for SharePoint 2016
- [x ] PnP PowerShell for SharePoint Online
What is the version of the Cmdlet module you are running?
SharePointPnPPowerShellOnline 3.17.2001.2
How did you install the PnP-PowerShell Cmdlets?
- [ ] MSI Installed downloaded from GitHub
- [x ] Installed through the PowerShell Gallery with Install-Module
- [ ] Other means
Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.
I am using version 3.26.2010.0 and this worked for me. Seems to be that the bug is fixed.