Allocating Exchange resources for a mailbox by using XML

Use the AllocateMailbox procedure of the Exchange Resource Manager namespace to allocate storage for a mailbox. This storage is allocated from the pool that is owned by the owning organization.

This procedure expects to be called with impersonate="1". The procedure impersonates the caller.

Example of a request that calls the AllocateMailbox procedure

<request>
 <procedure>
   <execute namespace="Exchange Resource Manager" procedure="AllocateMailbox">
	 <executeData>
	 <organization>LDAP://ou=ExchOrg1,dc=contoso,dc=com</organization>
	 <mailbox>LDAP://cn=ExchUser1,ou=ExchOrg1,dc=contoso,dc=com</mailbox>
	 <kilobytes>10000</kilobytes>
	 </executeData>
	 <after source="executeData" destination="data" mode="merge" />
   </execute>
 </procedure>
</request>

Input for AllocateMailbox

The following input is valid for this request:

Typical response for AllocateMailbox

This procedure returns the name of the server hosting the mail store and the name of the mail store.

<response>
 <data>
   <organization>LDAP://ou=ExchOrg1,dc=contoso,dc=com</organization>
   <mailbox>LDAP://cn=ExchUser1,ou=ExchOrg1,dc=contoso,dc=com</mailbox>
   <kilobytes>10</kilobytes>
   <mailStore>
	 <serverName>CONTOSO1</serverName>
	 <mailStoreName>Mailbox Store (CONTOSO1)</mailStoreName>
   </mailStore>
 </data>
</response>

Important