PnP-PowerShell icon indicating copy to clipboard operation
PnP-PowerShell copied to clipboard

Set-PnPSearchSettings not hiding Search on pages

Open gbminnock opened this issue 6 years ago • 2 comments

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

gbminnock avatar Jan 21 '20 12:01 gbminnock

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

ghost avatar Jan 21 '20 12:01 ghost

I am using version 3.26.2010.0 and this worked for me. Seems to be that the bug is fixed.

HeKr09 avatar Oct 23 '20 10:10 HeKr09