The following section contains steps to create an IIW tenant, NicoleHoliday. This IIW Tenant is a customer of the Contoso IIW reseller organization.

Tasks

  1. Create an IIW Tenant by Using Provtest
  2. Verify the Creation of the IIW Tenant
  3. Mail-Enable the IIW Tenant
  4. Mail-Enable the IIW User

Create an IIW Tenant by Using Provtest

Edit the CreateIIWTenant_request.xml file to match your environment before using the provtest utility to pass it to the MPS server.

Procedure RUN.44: To create an IIW Tenant by using Provtest

  1. On MPS01, clear the read-only attribute for the file <installdir>:\Program Files\Microsoft Hosting\Provisioning\Samples\Hosted Active Directory\CreateIIWTenant_request.xml

  2. Edit <installdir>:\Program Files\Microsoft Hosting\Provisioning\Samples\Hosted Active Directory\ CreateIIWTenant_request.xml

  3. Edit the <preferredDomainController> element to match the name of the preferred Active Directory domain controller; for example:

      Copy Code
    <preferredDomainController>ad01.fabrikam.com</preferredDomainController>
    
  4. Edit the reseller (<container>) LDAP path element as appropriate, for example:

      Copy Code
    <container>LDAP://OU=Contoso,OU=Hosting,DC=Fabrikam,DC=Com</container>
    
  5. Edit the tenant information as appropriate, for example:

      Copy Code
    <userPrinciplaName>NicoleHolliday@nicoleholliday.com</userPrincipalName> 
    <displayName>Nicole Holliday</displayName> 
    <givenName>Nicole</givenName> 
    <middleName></middleName> 
    <sn>Holliday</sn> 
    <initials></initials> 
    <password>Pass1word</password>
    
  6. Save the edited file.

  7. Open the command prompt and go to the <installdir>:\Program Files\Microsoft Hosting\Provisioning\Samples\Hosted Active Directory\ directory.

  8. Run the following command:

      Copy Code
    provtest CreateIIWTenant_request.xml /x2
    
    Note:
    /x2 formats the XML results for maximum readability.

Verify the Creation of the IIW Tenant

Verify that the IIW Tenant was created by locating the OU and user account in Active Directory.

Procedure RUN.45: To verify the creation of the IIW Tenant

  1. Run the Active Directory Users and Computers MMC.

  2. Navigate to fabrikam.com\Hosting\Contoso.

  3. Verify that you see the OU which matches the Tenant name you created in the previous procedure (for example, the NicoleHolliday OU).

  4. Expand the NicoleHolliday OU, and verify that you see the new user NicoleHolliday@nicoleholliday.com.

Mail-Enable the IIW Tenant

In this topic, you edit the MailEnableTenant_request.xml file to match your environment before using the provtest utility to pass it to the MPS server.

Procedure RUN.46: To mail-enable the IIW Tenant by using Provtest

  1. On MPS01, clear the read-only attribute for the file <installdir>:\Program Files\Microsoft Hosting\Provisioning\Samples\Hosted Email 2007\MailEnableTenant_request.xml

  2. Edit <installdir>:\Program Files\Microsoft Hosting\Provisioning\Samples\Hosted Email 2007\ MailEnableTenant_request.xml

  3. Edit the <preferredDomainController> element to match the name of the preferred Active Directory domain controller; for example:

      Copy Code
    <preferredDomainController>ad01.fabrikam.com</preferredDomainController>
    
  4. Edit the tenant (<path>) LDAP path element as appropriate, for example:

      Copy Code
    <path>LDAP://OU=Contoso,OU=Hosting,DC=Fabrikam,DC=Com</path>
    
  5. Edit the Tenant information such as the SMTP domain name, organization plan, and available mail plans as appropriate, for example:

      Copy Code
    <domainName>nicoleholliday.com</domainName> 
    <planName>GoldMailHosting</planName> 
    <availablePlans> 
    	 <planName>GoldMailbox</planName> 
    </availablePlans>
    
  6. Save the edited file.

  7. Open the command prompt and go to the <installdir>:\Program Files\Microsoft Hosting\Provisioning\Samples\Hosted Email 2007\ directory.

  8. Run the following command:

      Copy Code
    provtest MailEnableTenant_request.xml /x2
    
    Note:
    /x2 formats the XML results for maximum readability.

Mail-Enable the IIW User

In this step you will mail-enable the individual IIW User account inside the IIW Tenant. Edit the CreateMailbox.xml file to match your environment before using the provtest utility to pass it to the MPS server.

Procedure RUN.47: To mail-enable the IIW User by using Provtest

  1. On MPS01, clear the read-only attribute for the file <installdir>:\Program Files\Microsoft Hosting\Provisioning\Samples\Hosted Email 2007\CreateMailbox.xml

  2. Edit <installdir>:\Program Files\Microsoft Hosting\Provisioning\Samples\Hosted Email 2007\ CreateMailbox.xml

  3. Edit the <preferredDomainController> element to match the name of the preferred Active Directory domain controller; for example:

      Copy Code
    <preferredDomainController>ad01.fabrikam.com</preferredDomainController>
    
  4. Edit the User LDAP path element as appropriate, for example:

      Copy Code
    <user>LDAP://CN=NicoleHolliday@NicoleHolliday.com,OU=NicoleHolliday@NicoleHolliday.com,OU=Hosting,DC=Fabrikam,DC=Com</user>
    
  5. Edit the User information as appropriate, for example:

      Copy Code
    <planName>GoldMailbox</planName> 
    <alias>NicoleHolliday</alias> 
    <emailAddresses> 
    	<value>NicoleHolliday@NicoleHolliday.com</value> 
    </emailAddresses> 
    <oabCASPool>CASPool001</oabCASPool>
    
  6. Save the edited file.

  7. Open the command prompt and go to the <installdir>:\Program Files\Microsoft Hosting\Provisioning\Samples\Hosted Email 2007\ directory.

  8. Run the following command:

      Copy Code
    provtest CreateMailbox.xml /x2
    
    Note:
    /x2 formats the XML results for maximum readability.