This is the Trace Id: da4cf69e50a2fcc000c0e82d4c01855d
Skip to main content Microsoft 365 Office Azure Copilot Windows XBOX Support Windows Apps OneDrive Outlook Moving from Skype to Teams OneNote Microsoft Teams Shop XBOX Accessories XBOX games Microsoft AI Microsoft Security Azure Dynamics 365 Microsoft 365 for business Microsoft Power Platform Windows 365 Digital Sovereignty Microsoft Developer Microsoft Learn Support for AI marketplace apps Microsoft Tech Community Microsoft Marketplace Software companies Visual Studio Free downloads & security Education Gift cards Licensing View Sitemap

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:

    3/9/2026

    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.