Configure SharePoint search box in office 365 suite bar step by step

Configure SharePoint Search Box in Microsoft 365 suite bar step by step

No comments

Loading

In this โ€œSharePoint search boxโ€ tutorial, we will learn how to configure the SharePoint search box in the Office 365 suite bar step by step and how we can change the organisation profile settings in Office 365. The reason behind this article is that recently I was working on a custom search result page in my tenant, but I could not find the SharePoint search box in the Office 365 suite bar. However, I was perplexed when I noticed the same search box in my other tenant.

Then I realised there was something seriously wrong with my tenant because it wasnโ€™t working.Throughout this article, I will focus on the two points below:

  • How to configure the SharePoint search box in the Office 365 suite bar, step by step
  • How to configure organization profile settings in Office 365

Configure SharePoint search box โ€“ Configure the search box in SharePoint online

Letโ€™s have a look at the below screenshot.

Generally, in the below ribbon (at the top โ€“ highlighted) there should be a search box but was missing in my tenant.

SharePoint search box - How to enable search box in the ribbon
How to enable the search box in the ribbon

So, how to enable the search box at the top of the page in the ribbon?

Letโ€™s follow the below steps:

  1. In the admin center, go to Settingsย >ย Setting, and under theย Organization profileย tab, chooseย Release preferences.
  2. To disable the targeted release, select Standard release, then selectย Save changes.
  3. To enable targeted release for all users in your organization, selectย Targeted release for everyone, then selectย Save changes.
  4. To enable targeted release for some people in your organization, selectย Targeted release for selected users, then selectย Save changes.
  5. Chooseย Select usersย to add users one at a time, orย Upload usersย to add them in bulk.
  6. When youโ€™re done adding users, selectย Save changes.

or

Directly you can browse the below URL to go to the organization profile page.

admin.microsoft.com/Adminportal/Home#/companyprofile

Go to the โ€œRelease Preferencesโ€ section, next to that click on the โ€œActionโ€ menu, then click on the โ€œEditโ€ menu.

Release Preferences in Office 365 - Organization Profile
Release Preferences in Office 365 โ€“ Organization Profile

โ€œRelease Trackโ€ configuration

In the next pane, we will see the โ€œRelease Trackโ€ configuration option, we have the below configuration options:

  • Standard release โ€“ Get updates when we release them broadly. By default, this will be selected.
  • Targeted release for everyone โ€“ Get updates early for your entire organization.
  • Targeted release for selected users โ€“ Pick people to preview updates so that you can prepare your organization

Release Track - Release Preferences in Office 365 - Organization Profile

Release Track โ€“ Release Preferences in Office 365 โ€“ Organization Profile

Now, we need to change the selection from โ€œStandard releaseโ€ to any of the below selections:

  • Targeted release for everyone โ€“ Get updates early for your entire organization.
  • Targeted release for selected users โ€“ Pick people to preview updates so that you can prepare your organization

In the production, the recommendation is โ€œTargeted release for selected usersโ€, as this is my trial tenant I have selected as โ€œTargeted release for everyoneโ€.

Then click on the Next button.

Release Preferences in Office 365 - Organization Profile - Everyone
Release Preferences in Office 365 โ€“ Organization Profile โ€“ Everyone

Now, I am getting the confirmation message โ€œAre you sure you want to leave Targeted release for select people?โ€ because I had selected earlier โ€œTargeted release for selected usersโ€.

Click on the โ€œYesโ€ button.

It will update the release preferences, then finally click on the โ€œCloseโ€ button.

FYI โ€“ For the โ€œTargeted release for selected usersโ€ configuration, you will get the below screen where you need to add the list of targeted release users.

SharePoint search box - Add Targeted release users - Release Preferences in Office 365 - Organization Profile
Add Targeted release users โ€“ Release Preferences in Office 365 โ€“ Organization Profile

It might take 24 hours to get it reflected in your tenant.

Office 365 suite bar customization using PnP PowerShell

So, in order to make this change immediately, we need to run the below PnP PowerShell script:


$userName = "Global-sharepoint2020@globalsharepoint2020.onmicrosoft.com"
$passWord = "YourSPOPassword"
$encPassWord = convertto-securestring -String $passWord -AsPlainText -Force
$cred = new-object -typename System.Management.Automation.PSCredential -argumentlist $userName, $encPassWord

Connect-PnPOnline -Url "yourtenant-admin.sharepoint.com/" -Credentials $cred

#Example as below:
Connect-PnPOnline -Url "globalsharepoint2020-admin.sharepoint.com/" -Credentials $cred

try
{
$web = Get-PnPWeb
#0 - Inherit, #1 - AllPages, #2 - ModernOnly, #3 - Hidden enums for Global (Modern Search)
$web.SearchBoxInNavBar=2
$web.Update()
Invoke-PnPQuery
Write-Host "The changes have been updated successfully." -BackgroundColor Green
}
catch
{

$ErrorMessage = $_.Exception.Message +"in applying search setting changes!: "
Write-Host $ErrorMessage -BackgroundColor Red
Write-Log $ErrorMessage
}
Write-Host "The script execution has been completed successfully."

After executing the above script, immediately we can see the search box (at the top ribbon) as expected which was not there at the beginning of this article.

Search this site Microsoft global search is enabled
Search this site Microsoft global search is enabled

Summary: Configure search box in SharePoint online (SharePoint search box)

Thus, in this article, we have learned the following with respect to organizational profile settings changes in Microsoft 365:

  • How to change the organization profile settings in Office 365.
  • How to configure the โ€œRelease Trackโ€ in Office 365.
  • What are the Standard release, Targeted releases for everyone, and Targeted releases for selected users
  • How to configure the โ€œStandard release (Get updates when we release them broadly)โ€.
  • How to configure the โ€œTargeted release for everyone (Get updates early for your entire organizationโ€‹)โ€.
  • How to configure the โ€œTargeted release for selected users (Pick people to preview updates so that you can prepare your organization)โ€.
  • How to change the โ€œRelease Track โ€“ Release Preferences in Office 365 โ€“ Organization Profileโ€ using the PnP PowerShell script.
  • How to configure the SharePoint online modern search.
  • How to configure the SharePoint search box in the office 365 suite bar.

References: Configure search box in SharePoint online (Modern SharePoint search box)

See Also: SharePoint Online tutorial

You may also like the below SharePoint Online tutorials:

Download SharePoint Online PDF Book

Download SharePoint Online & Office 365 Administration eBook

Buy the premium version of SharePoint Online & Office 365 administration eBook from here:



Buy SharePoint Online & Office 365 Administration eBook


ย 

Get the free demo PDF eBook from here:

FREE DOWNLOAD

Send download link to:

Subscribe to get exclusive content and recommendations every month. You can unsubscribe anytime.

ย 

About Post Author


Discover more from Global SharePoint

Subscribe to get the latest posts sent to your email.

Do you have a better solution or question on this topic? Please leave a comment