The following section contains steps to create an IIW tenant, NicoleHoliday. This IIW Tenant is a customer of the Contoso IIW reseller organization.
Tasks
- Create an IIW Tenant by Using Provtest
- Verify the Creation of the IIW Tenant
- Mail-Enable the IIW Tenant
- 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
-
On MPS01, clear the read-only attribute for the file <installdir>:\Program Files\Microsoft Hosting\Provisioning\Samples\Hosted Active Directory\CreateIIWTenant_request.xml
-
Edit <installdir>:\Program Files\Microsoft Hosting\Provisioning\Samples\Hosted Active Directory\ CreateIIWTenant_request.xml
-
Edit the <preferredDomainController> element to match the name of the preferred Active Directory domain controller; for example:
Copy Code <preferredDomainController>ad01.fabrikam.com</preferredDomainController>
-
Edit the reseller (<container>) LDAP path element as appropriate, for example:
Copy Code <container>LDAP://OU=Contoso,OU=Hosting,DC=Fabrikam,DC=Com</container>
-
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>
-
Save the edited file.
-
Open the command prompt and go to the <installdir>:\Program Files\Microsoft Hosting\Provisioning\Samples\Hosted Active Directory\ directory.
-
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
-
Run the Active Directory Users and Computers MMC.
-
Navigate to fabrikam.com\Hosting\Contoso.
-
Verify that you see the OU which matches the Tenant name you created in the previous procedure (for example, the NicoleHolliday OU).
-
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
-
On MPS01, clear the read-only attribute for the file <installdir>:\Program Files\Microsoft Hosting\Provisioning\Samples\Hosted Email 2007\MailEnableTenant_request.xml
-
Edit <installdir>:\Program Files\Microsoft Hosting\Provisioning\Samples\Hosted Email 2007\ MailEnableTenant_request.xml
-
Edit the <preferredDomainController> element to match the name of the preferred Active Directory domain controller; for example:
Copy Code <preferredDomainController>ad01.fabrikam.com</preferredDomainController>
-
Edit the tenant (<path>) LDAP path element as appropriate, for example:
Copy Code <path>LDAP://OU=Contoso,OU=Hosting,DC=Fabrikam,DC=Com</path>
-
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>
-
Save the edited file.
-
Open the command prompt and go to the <installdir>:\Program Files\Microsoft Hosting\Provisioning\Samples\Hosted Email 2007\ directory.
-
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
-
On MPS01, clear the read-only attribute for the file <installdir>:\Program Files\Microsoft Hosting\Provisioning\Samples\Hosted Email 2007\CreateMailbox.xml
-
Edit <installdir>:\Program Files\Microsoft Hosting\Provisioning\Samples\Hosted Email 2007\ CreateMailbox.xml
-
Edit the <preferredDomainController> element to match the name of the preferred Active Directory domain controller; for example:
Copy Code <preferredDomainController>ad01.fabrikam.com</preferredDomainController>
-
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>
-
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>
-
Save the edited file.
-
Open the command prompt and go to the <installdir>:\Program Files\Microsoft Hosting\Provisioning\Samples\Hosted Email 2007\ directory.
-
Run the following command:
Copy Code provtest CreateMailbox.xml /x2
Note: /x2 formats the XML results for maximum readability.