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.
<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>
The following input is valid for this request:
In the <organization> element, enter the Lightweight Directory Access Protocol (LDAP) path of the organization that owns the mailbox.
<organization>LDAP://LDAP path of the owning organization</organization>
In the <mailbox> element, enter the Lightweight Directory Access Protocol (LDAP) path of the mailbox.
<mailbox>LDAP://LDAP path of the mail-enabled object associated with the mailbox</mailbox>
In the <megabytes> element, enter the size of the mailbox (in megabytes) to be added to the pool of resources.
<megabytes>10000</megabytes>
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