This is the Trace Id: 942fdd5a5a569daee44375698d684c37

Bring the world closer with Bing Wallpaper

Download the free app and enjoy breathtaking views with a new background each day.
A laptop displaying a colorful seascape from Bing Wallpaper.

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:

    Jul2025

    Date Published:

    9/5/2025

    File Name:

    Cloud_Hybrid_Search_Scripts_Sep2025.zip

    File Size:

    9.9 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 Subscription Edition server. You'll also find instructions for running the PowerShell script Onboard-CloudHybridSearch-SPOONS.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-SPOONS.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.
    Jul22: Added Onboard-CloudHybridSearch-SPOONS.ps1 for new hybrid scenario.
  • Supported Operating Systems

    Windows Server 2008 R2, Windows Server 2012 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