pnp / PnP-PowerShell

SharePoint PnP PowerShell CmdLets
https://pnp.github.io/powershell
Other
990 stars 663 forks source link

Set-PnPSearchSettings not hiding Search on pages #2460

Open gbminnock opened 4 years ago

gbminnock commented 4 years ago

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?

What is the version of the Cmdlet module you are running?

SharePointPnPPowerShellOnline 3.17.2001.2

How did you install the PnP-PowerShell Cmdlets?

ghost commented 4 years ago

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

HeKr09 commented 3 years ago

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