May 17 2021 12:53 AM
Hi Everyone,
We have been trying to hide OOTB suite bar search box on site using Set-PnPSearchSettings in SPO Modern site.
Reference: Set-PnPSearchSettings (PnP.Powershell) | Microsoft Docs
We are using the below script.
Set-PnPSearchSettings -SearchBoxInNavBar Hidden -Scope Web
When we try to retrieve the search settings, we see the OOTB search is hidden.
May 18 2021 10:44 PM
Also we have noticed the below pattern:
Is hiding the suite bar search box linked with any specific page layouts? Can you please let us know.