Import/Export Search Configuration At The SharePoint Admin Center On Office 365

Welcome to an article on how to Import / Export Search Configuration at the SharePoint Admin Center on Office 365. Here in this article, we will see our options available to Import / Export Search Configuration.

Here we will see how to import or export the search configuration from one admin account so that we use the same settings throughout all the accounts thereby saving time and effort.

To configure you need to be a tenant admin. If you are, let’s see how we can do it,

  • Click on the left corner of your SharePoint site to view the apps.


  • Click on Admin.
  • You will come to the “SharePoint admin center”.

    admin center

  • Select search on the left navigation. You will come here.


  • Click on “Export Search Configuration”.

  • It will generate a file which can be used in all configurations of the same search settings in all other accounts as it will have all the query rules, result types, site search settings which can be used by other tenants.

  • It will generate an XML File as per the code below with all details.

    1. <SearchConfigurationSettings xmlns:i="" xmlns="">  
    2.     <SearchQueryConfigurationSettings>  
    3.         <SearchQueryConfigurationSettings>  
    4.             <BestBets xmlns:d4p1="" />  
    5.             <DefaultSourceId>00000000-0000-0000-0000-000000000000</DefaultSourceId>  
    6.             <DefaultSourceIdSet>true</DefaultSourceIdSet>  
    7.             <DeployToParent>false</DeployToParent>  
    8.             <DisableInheritanceOnImport>false</DisableInheritanceOnImport>  
    9.             <QueryRuleGroups xmlns:d4p1="" />  
    10.             <QueryRules xmlns:d4p1="" />  
    11.             <ResultTypes xmlns:d4p1="" />  
    12.             <Sources xmlns:d4p1="" />  
    13.             <UserSegments xmlns:d4p1="" />  
    14.         </SearchQueryConfigurationSettings>  
    15.     </SearchQueryConfigurationSettings>  
    16.     <SearchRankingModelConfigurationSettings>  
    17.         <RankingModels xmlns:d3p1="" />  
    18.     </SearchRankingModelConfigurationSettings>  
    19.     <SearchSchemaConfigurationSettings>  
    20.         <Aliases xmlns:d3p1="">  
    21.             <d3p1:LastItemName i:nil="true" />  
    22.             <d3p1:dictionary xmlns:d4p1="" />  
    23.         </Aliases>  
    24.         <CategoriesAndCrawledProperties xmlns:d3p1="" />  
    25.         <CrawledProperties xmlns:d3p1="" i:nil="true" />  
    26.         <ManagedProperties xmlns:d3p1="">  
    27.             <d3p1:LastItemName i:nil="true" />  
    28.             <d3p1:dictionary xmlns:d4p1="" />  
    29.             <d3p1:TotalCount>0</d3p1:TotalCount>  
    30.         </ManagedProperties>  
    31.         <Mappings xmlns:d3p1="">  
    32.             <d3p1:LastItemName i:nil="true" />  
    33.             <d3p1:dictionary xmlns:d4p1="" />  
    34.         </Mappings>  
    35.         <Overrides xmlns:d3p1="">  
    36.             <d3p1:LastItemName i:nil="true" />  
    37.             <d3p1:dictionary xmlns:d4p1="" />  
    38.         </Overrides>  
    39.     </SearchSchemaConfigurationSettings>  
    40. </SearchConfigurationSettings>  
  • This when imported can be used with same settings across different tenants.

  • Similarly when you click on “Import Search Configuration”, it will allow you to brows your file from the local and import it to the search setting son this tenant admin account as per the screen below.


This functionality helps you to configure single search settings for all your different tenant accounts.

In this article we saw how to Import / Export Search Configuration at the SharePoint Admin Center on Office 365. We will see more in my other articles. Until then, keep reading and keep learning.