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

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

No comments

 14,935 total views,  2 views today

In this tutorial, we will learn how to configure the SharePoint search box in office 365 suite bar step by step and how we can change the organization profile settings in office 365. The reason behind this article is – recently I was working for a custom search result page in my tenant but I could not find the SharePoint search box in office 365 suite bar. However, it wondered me when I saw the same search box in my other tenant. Then I realize, definitely something wrong in my tenant where it is not working. Throughout this article I will focus on the below two points:

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

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.

How to enable search box in the ribbon
How to enable 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 the Settings > Setting, and under the Organization profile tab, choose Release preferences.
  2. To disable 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.

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.

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:

Thus in this article, we have learned the below with respect to organization profile settings change in Office 365:

  • How to change the organization profile settings in Office 365.
  • How to configure the “Release Track” in Office 365.
  • What are Standard release, Targeted release for everyone and Targeted release 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 office 365 suite bar.

References:

See Also:

Free download SharePoint Online & Office 365 Administration eBook(238 Pages)

Get the PDF eBook from here:


 
FREE DOWNLOAD

Send download link to:

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