Allocating Exchange resources for a public folder by using XML

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.

Example of a request that calls the AllocatePublicFolder procedure

<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>

Input for AllocatePublicFolder

The following input is valid for this request:

Typical response for AllocatePublicFolder

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