WinDeveloper O365 Mailer FREE for 1 Year

WinDeveloper IMF Tune
WinDeveloper IMF Tune

Exchange 2010 Hosting Part 2 - The Easy Way

Paul Roman [MVP for Exchange, MCSE, MCSA, MCST, MCITP]

Paul Roman [MVP for Exchange, MCSE, MCSA, MCST, MCITP] Photo

Paul is a Microsoft Certified System Engineer since 1999. His experience covers a large number of Microsoft Exchange implementations starting from small infrastructures and going to large hosting infrastructures for thousands of users. Starting with April 1st, 2010, Paul is MVP for Exchange.

Cast your Vote
Poor Excellent

Today we discuss the second alternative to implementing an Exchange 2010 hosting infrastructure, a setup that can give significant hardware consolidation advantages. This installation method was introduced in Exchange 2010 Service Pack 1.

2. Managing Hosted Organizations

2.1 Service Plans and Mailbox Plans

Service Plans and Mailbox Plans are templates used for quick provisioning of hosted organizations. By using them there is no need to individually setup settings for each hosted organization. You only need to create the templates and assign them to the organizations.

A Service Plan specifies the list of Exchange features, resource limits, and RBAC permissions that are available for a hosted organization. Within the Service Plan you can have one or many Mailbox Plans.

A Mailbox Plan specifies the Exchange features that need to be enabled on a mailbox in the hosted organization. You can have multiple mailbox plans for each organization.

2.2 Creating a New Service Plan and New Mailbox Plans

Here are the steps to create service and mailbox plans:

  • Open the folder where Service Plans are stored in XML templates:
    <Exchange Installation Path>\Exchange Server\V14\ClientAccess\ServicePlans

    For a standard installation, you can find three templates with .servicePlan extension. Check them and if you consider that they are enough for your requirements, you can use them as they are.

  • Chose one template, modify it according to your requirements and save it to a new template file, keeping the same extension.

    You can find all the settings that can be used at the link:

  • To create multiple Mailbox Plans within the same Service Plan, copy the section between: <MailboxPlan Name=...> and </MailboxPlan> and paste it before </MailboxPlans>.

    Edit the settings that you want and make sure that MailboxPlanName, MialboxPlanIndex properties are unique for each mailbox plan. Also make sure that only one Mailbox Plan has ProvisionAsDefault property set to true, since you can only have one default mailbox plan.

  • Add the newly created Service Plan to the Service Plan Map file. The Service Plan Map file is located in the same folder and is called ServicePlanHostingRemap.csv.

    To add a new Service Plan to the Service Plan Map file, you need to create a new line within the ServicePlanHostingRemap.csv file. The line should contain:
    ProgramId - specifies the service level offering that you are providing to your hosting organizations.
    OfferId - specifies a sub-service level offering.
    ServicePlanName - specifies the file name of the service plan.

  • Copy <Exchange Installation Path>\Exchange Server\V14\ClientAccess\ServicePlans folder where you created or edited the Service Plan to all your CAS servers (if you have more than one).

  • Verify that the newly created Service Plan is ok by simulating a new organization. To do that, run the following command within Powershell:
    New-Organization -Name "testdomain.local" -DomainName "testdomain.local" -Location "en-us" -ProgramId "TestProgram" -OfferId "TestOffer" -WhatIf

    Here ProgramId and OfferId are the ones specified in the ServicePlanHostingRemap.csv file.

2.3 Creating a New Hosted Organization

When creating a new hosted organization it is recommended to also assign it an administrator. Otherwise, you can later assign administrative rights to an existing user. The administrator will be able to perform administrative tasks for this organization using ECP, Powershell, or a custom management interface.

The following cmdlets assume that you want to create an admin for the newly created organization. When you create a new organization with administrator, the administrator username will be, where is the email domain for the new organization.

To create a new hosted organization run the following Powershell cmdlets:
$Password = Read-Host "Enter Password" -AsSecureString

Enter the password for the administrator

New-Organization -Name "testdomain.local" -DomainName "testdomain.local" -Location "en-us" -ProgramId "TestProgram" -OfferId "TestOfer" -AdministratorPassword $Password

2.4 Create a New User or Group

To create a new user for a hosted organization, run the following cmdlet:
New-mailbox -Organization "testdomain.local" -Name "John Doe" -FirstName John -LastName Doe -DisplayName "John Doe" -UserPrincipalName john.doe@testdomain.local -MailboxPlan "DefaultMailboxPlan"


  • You will be required to enter a password for the new account. The password should comply with the domain password policy.

  • UserPrincipalName will be used also as email address for this account

  • The Organization must exist - see 2.3

  • The MailboxPlan must exist - see 2.2

To create a new group for a hosted organization, run the following cmdled:
New-DistributionGroup -Organization "testdomain.local" -name "Test Domain Group" -ManagedBy john.doe@testdomain.local


  • The email address for the new group will be testdomaingroup@testdomain.local

  • You are required to add an owner for the group using the -ManagedBy parameter. If you don't specify the owner, the system will try to put the user that is running the cmdlet as the owner. The owner of the group must be member in the organization where the group is created

Additional Considerations

The powershell cmdlets for the Exchange 2010 Hosted infrastructure are different from the Exchange 2010 Enterprise infrastructure. To manage settings for object within each organization generally you have to use the -Organization parameter for all cmdlets. You can find a full reference here:

To have a fully operational Exchange infrastructure there are other steps that need to be followed like:

  • Configure antispam filters on Transport servers

  • Configure client access certificates

  • Configure autodiscovery service

  • Configure outlook anywhere

No matter what will be your pick for implementing such an infrastructure, Exchange 2010 is the right choice. It's a strong and stable product that was designed for hosting solutions. The living proof for this is the Exchange Online offering included in Office 365, which is in fact Exchange 2010.


Exchange 2010 Hosting Part 1 - The Hard Way

Multi-Tenant Support

Exchange 2010 SP1 Information for Hosted Service Providers

User Comments - Page 1 of 1

Alexander Zammit 17 Oct 2011 00:54
Please note that Microsoft is now phasing out /hosting.

So at this point I advise you to wait for Exchange 2010 SP2.

If you do deploy using /hosting you will be stuck with the limitations explained above, unless you perform a migration. But migrating won’t be fun because a separate forest is required!

See details here:
Copyright © 2005 - 2024 All rights reserved. is not affiliated with Microsoft Corporation