top of page
Writer's pictureManpreet Singh

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 SharePointAdmin 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”.


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

Code

  1. <SearchConfigurationSettings xmlns:i="http://www.w3.org/2001/XMLSchema-instance" 

  2. xmlns="http://schemas.datacontract.org/2004/07/Microsoft.Office.Server.Search.Portability">    

  3. <SearchQueryConfigurationSettings>          

  4. <SearchQueryConfigurationSettings>              

  5. <BestBets xmlns:d4p1="http://www.microsoft.com/sharepoint/search/KnownTypes/2008/08" /> 

  6. <DefaultSourceId>00000000-0000-0000-0000-000000000000</DefaultSourceId>              

  7. <DefaultSourceIdSet>true</DefaultSourceIdSet>              

  8. <DeployToParent>false</DeployToParent>              

  9. <DisableInheritanceOnImport>false</DisableInheritanceOnImport>              

  10. <QueryRuleGroups xmlns:d4p1="http://www.microsoft.com/sharepoint/search/KnownTypes/2008/08" />              

  11. <QueryRules xmlns:d4p1="http://www.microsoft.com/sharepoint/search/KnownTypes/2008/08" />              

  12. <ResultTypes xmlns:d4p1="http://schemas.datacontract.org/2004/07/Microsoft.Office.Server.Search.Administration" />              

  13. <Sources xmlns:d4p1="http://schemas.datacontract.org/2004/07/Microsoft.Office.Server.Search.Administration.Query" />              

  14. <UserSegments xmlns:d4p1="http://www.microsoft.com/sharepoint/search/KnownTypes/2008/08" />          

  15. </SearchQueryConfigurationSettings>      

  16. </SearchQueryConfigurationSettings>      

  17. <SearchRankingModelConfigurationSettings>          

  18. <RankingModels xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />      

  19. </SearchRankingModelConfigurationSettings>      

  20. <SearchSchemaConfigurationSettings>          

  21. <Aliases xmlns:d3p1="http://schemas.datacontract.org/2004/07/Microsoft.Office.Server.Search.Administration">              

  22. <d3p1:LastItemName i:nil="true" />              

  23. <d3p1:dictionary xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />      

  24. </Aliases>          

  25. <CategoriesAndCrawledProperties xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />          

  26. <CrawledProperties xmlns:d3p1="http://schemas.datacontract.org/2004/07/Microsoft.Office.Server.Search.Administration" i:nil="true" />          

  27. <ManagedProperties xmlns:d3p1="http://schemas.datacontract.org/2004/07/Microsoft.Office.Server.Search.Administration">              

  28. <d3p1:LastItemName i:nil="true" />              

  29. <d3p1:dictionary xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />       

  30. <d3p1:TotalCount>0</d3p1:TotalCount>          

  31. </ManagedProperties>          

  32. <Mappings xmlns:d3p1="http://schemas.datacontract.org/2004/07/Microsoft.Office.Server.Search.Administration">              

  33. <d3p1:LastItemName i:nil="true" />              

  34. <d3p1:dictionary xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />     

  35. </Mappings>          

  36. <Overrides xmlns:d3p1="http://schemas.datacontract.org/2004/07/Microsoft.Office.Server.Search.Administration">              

  37. <d3p1:LastItemName i:nil="true" />              

  38. <d3p1:dictionary xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />      

  39. </Overrides>      

  40. </SearchSchemaConfigurationSettings>  </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.

0 comments

Recent Posts

See All

Comments


bottom of page