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.

    apps

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

    admin center

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

    navigation

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

    Code
    1. <SearchConfigurationSettings xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Microsoft.Office.Server.Search.Portability">  
    2.     <SearchQueryConfigurationSettings>  
    3.         <SearchQueryConfigurationSettings>  
    4.             <BestBets xmlns:d4p1="http://www.microsoft.com/sharepoint/search/KnownTypes/2008/08" />  
    5.             <DefaultSourceId>00000000-0000-0000-0000-000000000000</DefaultSourceId>  
    6.             <DefaultSourceIdSet>true</DefaultSourceIdSet>  
    7.             <DeployToParent>false</DeployToParent>  
    8.             <DisableInheritanceOnImport>false</DisableInheritanceOnImport>  
    9.             <QueryRuleGroups xmlns:d4p1="http://www.microsoft.com/sharepoint/search/KnownTypes/2008/08" />  
    10.             <QueryRules xmlns:d4p1="http://www.microsoft.com/sharepoint/search/KnownTypes/2008/08" />  
    11.             <ResultTypes xmlns:d4p1="http://schemas.datacontract.org/2004/07/Microsoft.Office.Server.Search.Administration" />  
    12.             <Sources xmlns:d4p1="http://schemas.datacontract.org/2004/07/Microsoft.Office.Server.Search.Administration.Query" />  
    13.             <UserSegments xmlns:d4p1="http://www.microsoft.com/sharepoint/search/KnownTypes/2008/08" />  
    14.         </SearchQueryConfigurationSettings>  
    15.     </SearchQueryConfigurationSettings>  
    16.     <SearchRankingModelConfigurationSettings>  
    17.         <RankingModels xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />  
    18.     </SearchRankingModelConfigurationSettings>  
    19.     <SearchSchemaConfigurationSettings>  
    20.         <Aliases xmlns:d3p1="http://schemas.datacontract.org/2004/07/Microsoft.Office.Server.Search.Administration">  
    21.             <d3p1:LastItemName i:nil="true" />  
    22.             <d3p1:dictionary xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />  
    23.         </Aliases>  
    24.         <CategoriesAndCrawledProperties xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />  
    25.         <CrawledProperties xmlns:d3p1="http://schemas.datacontract.org/2004/07/Microsoft.Office.Server.Search.Administration" i:nil="true" />  
    26.         <ManagedProperties xmlns:d3p1="http://schemas.datacontract.org/2004/07/Microsoft.Office.Server.Search.Administration">  
    27.             <d3p1:LastItemName i:nil="true" />  
    28.             <d3p1:dictionary xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />  
    29.             <d3p1:TotalCount>0</d3p1:TotalCount>  
    30.         </ManagedProperties>  
    31.         <Mappings xmlns:d3p1="http://schemas.datacontract.org/2004/07/Microsoft.Office.Server.Search.Administration">  
    32.             <d3p1:LastItemName i:nil="true" />  
    33.             <d3p1:dictionary xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />  
    34.         </Mappings>  
    35.         <Overrides xmlns:d3p1="http://schemas.datacontract.org/2004/07/Microsoft.Office.Server.Search.Administration">  
    36.             <d3p1:LastItemName i:nil="true" />  
    37.             <d3p1:dictionary xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />  
    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.

    import

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.

Up Next
    Ebook Download
    View all
    Learn
    View all