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

Instantly 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.

https://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 "https://yourtenant-admin.sharepoint.com/" -Credentials $cred

#Example as below:
Connect-PnPOnline -Url "https://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

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