Use the AllocatePublicFolder procedure of the Exchange Resource Manager namespace to allocate storage for a public folder. This storage is allocated from the pool of the owning organization. The storage allocated for a folder affects only that folder. Subfolder storage is allocated separately, so storage for any subfolders does not affect the parent folder.
This procedure expects to be called with impersonate="1". The procedure impersonates the caller.
<request>
<procedure>
<execute namespace="Exchange Resource Manager" procedure="AllocatePublicFolder">
<executeData>
<organization>LDAP://ou=ExchOrg1,dc=contoso,dc=com</organization>
<publicStore>
<folderPath>folder1</folderPath>
<megabytes>6</megabytes>
</publicStore>
</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 public folder.
<organization>LDAP://LDAP path of the hosting organization</organization>
In the <folderPath> element, enter the Exchange path for the public folder to be added to the pool of allocated resources.
<folderPath>folder path</folderPath>
In the <megabytes> element, enter the size of the public folder to be added to the pool of allocated resources (in megabytes).
<megabytes>folder size in megabytes</megabytes>
This procedure returns the LDAP path of the public folder store.
<response>
<data>
<organization>LDAP://ou=ExchOrg1,dc=contoso,dc=com</organization>
<publicStore>
<folderPath>folder1</folderPath>
<megabytes>6</megabytes>
</publicStore>
<publicStorePath>LDAP://CN=Public Folder Store (CONTOSO1),CN=First Storage
Group,CN=InformationStore,CN=CONTOSO1,CN=Servers,CN=First Administrative
Group,CN=Administrative Groups,CN=Contoso,CN=Microsoft
Exchange,CN=Services,CN=Configuration,DC=contoso,DC=com</publicStorePath>
</data>
</response>
Important