Exchange 2007 Resource Manager::AllocateOrganization

This procedure allocates public folder store and mail store(s) to an organization.

Arguments

Input Arguments Required Description

<organization>

Yes

The Lightweight directory access protocol (LDAP) path of the organization or a container element for organization properties elements.

<publicStore>

No

The container element for each set of child public store properties elements.

<publicStore/ megabytes>

No

The size of disk storage or the size of an adjustment.

<publicStore/ sourcePublicStoreServer>

No

This parameter specifies the public store on which to put the organization's public folder storage.

<mailstore>

No

The container element for each set of child mailstore properties elements.

<mailStore/@algorithm>

No

This parameter specifies the selection algorithm. Enum

  • tightPack - tightPack attempts to use the smallest number of mail stores

  • minStoreCount - minStoreCount attempts to minimize the number of stores allocated to each org.

<mailStore/ megabytes>

No

The size of disk storage or the size of an adjustment.

<mailStore/ shared>

No

If 1, this mailstore may be shared by multiple organizations. Otherwise it will be allocated to a single organization.

<mailStore/ sourceMailStores>

No

The container element for a collection of sourceMailStore elements.

<mailStore/ sourceMailStores/ sourceMailStore>

No

The container element for a single set of mailstore properties elements.

<sourceMailStores/ sourceMailStore/ serverName>

No

Required if the publicStore element is present. The NETBIOS name of the Exchange server.

<sourceMailStores/ sourceMailStore/ mailStoreName>

No

The name of the mailstore. This name must be unique amongst all of the mailbox stores in the Active Directory tree. A naming scheme of Mailbox Store N (ServerName) where N is an integer that is unique on this server is recommended.

<sourceMailStores/ sourceMailStore/ megabytes>

No

The size of disk storage or the size of an adjustment.

<preferredDomainController>

Yes

The Fully Qualified Domain Names (FQDN) or IP Address of the domain controller to use for this procedure.

Remarks

Security

The caller must be at least a member of role: OrgCreators

Sample Code

Example XML Request

<request>  
        <data>  
                <organization> LDAP://OU=AlpineSkiHouse,OU=ConsolidatedMessenger,OU=Hosting,DC=Fabrikam,DC=Com </organization> 
                <preferredDomainController>AD01.Fabrikam.com </preferredDomainController> 
        </data> 
        <procedure>  
                <execute namespace="Exchange 2007 Resource Manager" procedure="AllocateOrganization" impersonate="1" >  
                        <before source="data" destination="executeData" mode="merge" /> 
                        <after source="executeData" destination="data" mode="merge" /> 
                </execute> 
        </procedure> 
</request> 

Applies To

Exchange 2007 Resource Manager Namespace for:

  • Hosted Messaging and Collaboration version 4.5

  • Hosted Messaging and Collaboration version 4.0