Going multi-tenancy with SharePoint 2010

I recently needed to do a multi-tenancy installation of SharePoint 2010 for a customer. I was very impressed by the AutoSPInstaller scripts to do a full install of SharePoint, so I figured: I want to use this!

So I modified the script to handle multi-tenancy installations as well. This was actually not that complicated. I altered the Service-Applications to have an additional attribute “PartitionMode”, which can be true or false. This will trigger the corresponding PowerShell switch for creating the Service-Application.

When doing a multi-tenancy installation I also modified the installation of the root web-application for the hosting as described by Spence Harbar in his Rational Guide to Multi Tenancy.

I also added new Configuration-Elements to setup tenants (aka Subscriptions).

This code was originally based on the 2.5.5 version and was recently re-based to 2.5.7.

The patch can be found on the CodePlex project site.


  1. Hi there, thanks for this.

    Just wondering if you can help, i’ve got a sharepoint site already and want to change it to multi hosting. Is that possible??

    Thanks, much appreciated!


  2. @pjmartins
    If you already have a site setup, you will not be able to change the site to be part of a multi-tenancy installation. You will have to enable multi-tenancy before creating the sites, as the multi-tennacy feature will add a subscription ID for each tenant and will add this ID to all the sites of the tenant. This cannot be done afterwards.

  3. Thanks,

    Don’t mind recreating new sites if needed be, can’t find commands to enable multi tenancy and then how to create a new site locked down to an OU! Really struggling with then one Henning, so any help would be a miracle and well appreciated!

  4. @pjmartins
    Did you look at the Guide of Spence Harbar? He give good guidance on how to install Sharepoint with multi-tenancy.

    You will not onyl re-create the sites, you have to make the decision to go multi-tenancy during install-time of sharepoint.

Leave a Comment.