Use the AllocateOrganization procedure of the Exchange Resource Manager namespace to allocate storage for an organization. This storage becomes the pool from which mailbox and other allocations are made for individual objects of the organization.
This procedure expects to be called with impersonate="1". The procedure impersonates the caller.
<request>
<procedure>
<execute namespace="Exchange Resource Manager" procedure="AllocateOrganization">
<executeData>
<organization>LDAP://ou=ExchOrg1,dc=contoso,dc=com</organization>
<publicStore>
<megabytes>100</megabytes>
</publicStore>
<mailStore>
<megabytes>200</megabytes>
<shared>1</shared>
</mailStore>
</executeData>
<after source="executeData" destination="data" mode="merge" />
</execute>
</procedure>
</request>
The following input is valid for this request:
In the <organization> element, enter the Lightweight Directory Access Protocol (LDAP) path of the organization that will own the allocated resources.
<organization>LDAP://LDAP path of the owning organization</organization>
Use the <publicStore> element to specify the storage available for public folders. Set the <megabytes> parameter to specify the size of the storage.
<publicStore>
<megabytes>Megabytes of storage available for public folders</megabytes>
</publicStore>
Use the <mailStore> element to specify the storage available for mail. Set the <megabytes> parameter to specify the size of the storage. Set the <shared> parameter of <mailStore> to specify how the storage is to be allocated. If this parameter is 0, the organization is given its own mail store. If the parameter is any number other than 0, the organization is given part of a shared mail store.
<mailStore>
<megabytes>Megabytes of storage available for public folders</megabytes>
<shared>0|1>/shared>
</mailStore>
The response to this procedure does not contain significant data.
Important