Switch from an Enterprise Search Center to Basic in SharePoint Online

Important

You currently may not be able to do the procedure documented in this article. This is because this capability is gradually rolled out to Microsoft 365 tenants, and it has not reached yours yet. Thank you for your patience.

The Basic Search Center is a classic search experience. To offer your users a richer search experience, you can either switch from a Basic Search Center to an Enterprise Search Center or rely on the modern search experience that SharePoint Online comes with. Learn about differences between classic and modern search and when to choose which search experience for your organization.

If you are currently using the Enterprise Search Center, you can easily replace (swap) it with the Basic Search Center if needed. This will result in your users seeing the classic search experience in their default search home page and default search results page. You can use the Invoke-SPOSiteSwap Windows PowerShell cmdlet in the SharePoint Online Management Console to do this.

How to use Invoke-SPOSiteSwap to swap your Search Center sites

  1. Download the latest version of the Microsoft SharePoint Online Services Module for Windows PowerShell.
  2. Connect to SharePoint Online as a global admin or SharePoint admin in Office 365. To learn how, see Getting started with SharePoint Online Management Shell.
  3. Run the Invoke-SPOSiteSwap cmdlet.
Invoke-SPOSiteSwap  
  -SourceUrl <string>
  -TargetUrl <string>
  -ArchiveUrl <string>
Paramater Description
-SourceUrl The site you want to promote.
-TargetUrl The site you want to replace.
-ArchiveUrl URL that the target site will be archived to.

Here's an example of how to use these parameters when swapping an existing Enterprise Search Center to Basic:

  • For your -SourceUrl, you need the URL of your Basic Search Center site. The site must exist before running the cmdlet. For our example, we'll use https://contoso.sharepoint.com/sites/SiteSearch.

    You can create a Basic Search Center site from an Enterprise site template.

  • For your -TargetUrl, you need the URL of your Enterprise Search Center site that you want to replace. For our example, we'll use https://contoso.sharepoint.com/search.

  • For your -ArchiveUrl, use a Url that does not currently exist at the location. Your Enterprise Search Center site will be archived to this site location. For our example, we'll use https://contoso.sharepoint.com/sites/ArchivedEntSearch.

Here's how to use the examples above in the Invoke-SPOSiteSwap cmdlet:

Invoke-SPOSiteSwap -SourceUrl https://contoso.sharepoint.com/sites/SearchSite -TargetUrl https://contoso.sharepoint.com/search -ArchiveUrl https://contoso.sharepoint.com/sites/ArchivedEntSearch

Successfully running the cmdlet above would result in:

  • Basic Search will be the default Search Center experience. When users go to https://contoso.sharepoint.com/search, they will now be using the Basic Search Center.
  • The Enterprise Search Center site will no longer be available as the default Search Center experience.

See also

Manage the Search Center in SharePoint Online