Trace Id is missing

Maximize the everyday with Microsoft 365

Get online protection, secure cloud storage, and innovative apps designed to fit your needs—all in one plan.
A young woman works on a Surface laptop while Microsoft 365 App icons whirl around her head.

Windows PowerShell scripts to configure cloud hybrid search for SharePoint

Download these Windows PowerShell scripts to configure cloud hybrid search for SharePoint.

Important! Selecting a language below will dynamically change the complete page content to that language.

Download
  • Version:

    May2023

    Date Published:

    5/11/2023

    File Name:

    Cloud_Hybrid_Search_Scripts_May2023.zip

    File Size:

    9.0 KB

    When you configure cloud hybrid search for SharePoint, follow the instructions in Configure cloud hybrid search – roadmap. The instructions include running the Windows PowerShell script CreateCloudSSA.ps1 to create and configure a cloud Search service application (cloud SSA) on a SharePoint Server 2013 or SharePoint Server 2016 server. You'll also find instructions for running the PowerShell script Onboard-CloudHybridSearch.ps1 to connect your cloud SSA and your Office 365 tenant and set up server-to-server authentication for the two environments.

    The Windows PowerShell script CreateCloudSSA.ps1 works for all Office 365 plans. The Windows PowerShell script Onboard-CloudHybridSearch.ps1 works for all Office 365 plans except Office 365 US Government Defense.

    Version history
    Apr20: The parameter 'Credential' of Onboard-CloudHybridSearch.ps1 becomes unnecessary.
    Jun18: Updated Onboard-CloudHybridSearch.ps1 to support the MSOnline AAD Powershell module installed from the PowerShell Gallery. Previously the msi was available from the Microsoft Connect portal, but this portal has been retired. Sep17: Added option to create the cloud SSA with search architecture that supports high availability (across two servers).
    Jul17: Added suport for Office 365 US Government Defense.
    Jun17: Added support for Office 365 operated by 21 Vianet and Office 365 US Government Community.
    Apr17: Added support for Office 365 Germany.
  • Supported Operating Systems

    Windows Server 2012 R2, Windows Server 2008 R2

    The file is a zipped folder that contains two Windows PowerShell script (ps1) files.
    1. Choose the Download button on this page to start the download. Or, select a different language from the drop-down list, and then Choose Go.
    2. Choose Save or Save this program to disk to copy the download to your computer.

Follow Microsoft