Outbound Hybrid Infrastructure Configuration Made Easy for SharePoint Server 2013 and Office 365


Over the past several weeks since we’ve released Service Pack 1 for SharePoint Server 2013 I’ve configured several PoC and demo environments with OneDrive for Business redirection to Office 365 with an outbound hybrid search topology.  Over the course of configuring these environments I found it to be easier to programmatically configure the more complex aspect (outbound infrastructure) and hopefully will be able to share the solution soon…

The solution I put together is a Windows Form (makes it easy to redistribute and iterate upon), simplifies the configuration and scripting of outbound infrastructure (example below).

The root domain is populated at runtime based on the machine (should be a WFE) from where the application is run.


The application next gets a list of all SPWebApplications on the local SPFarm, creates a list, and populates a combobox.


The application then takes the Personal Information Exchange (.pfx) certificate to be used for the STS and converts it to Base64 Encoded (.cer).


The application then creates the Windows PowerShell script necessary to configure the outbound infrastructure for hybrid search.

////TODO Add Syntax Highlighting.


The next step is the Configure tab which executes the script created in the previous steps and configures the outbound infrastructure.

Looking forward to sharing the solution soon, but any feedback is appreciated.

Comments (7)

  1. Dennis Gaida says:

    Looks great! Eagerly awaiting you releasing this on Codeplex or something similar 🙂

  2. Arthur Neufeld says:

    This will reduce the implementation costs for those scenarios. Great, thank you!

  3. Todd Klindt says:

    Show off.

  4. Rodrigo Pinto, SharePoint MVP says:

    Bill, awesome! Struggling with this for quite some time now… When you can share it? 😛

  5. Anonymous says:

    Como el primero de cada mes, aquí os dejo un nuevo recopilatorio de enlaces interesantes en torno a SharePoint

  6. Fabian Williams says:

    Ok, I know Im going to need this script pretty soon.

Skip to main content