Deallocating Exchange resources for an organization by using XML

Use the DeallocateOrganization procedure of the Exchange Resource Manager namespace to deallocate storage for an organization. This procedure releases all Exchange resources owned by the organization and makes them available so that they can be provisioned again. All of the mailboxes and public folders allocated from the organization must be deallocated before this call will succeed.

Important

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

Example of a request that calls the DeallocateOrganization procedure

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

Input for DeallocateOrganization

The following input is valid for this request:

Typical response for DeallocateOrganization

The response to this procedure does not contain significant data.

Important