Deallocating Exchange resources for a mailbox by using XML

Use the DeallocateMailbox procedure of the Exchange Resource Manager namespace to release the storage allocation for a mailbox. This procedure changes the status of the Exchange resources for that mailbox and makes them available so that they can be provisioned again.

Important

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

Example of a request that calls the DeallocateMailbox procedure

<request>
  <execute namespace="Exchange Resource Manager" procedure="DeallocateMailbox">
	<executeData>
	<mailbox>LDAP://cn=ExchUser1,ou=ExchOrg1,dc=contoso,dc=com</mailbox>
	</executeData>
	<after source="executeData" destination="data" sourcePath="path" />
  </execute>
</request>

Input for DeallocateMailbox

The following input is valid for this request:

Typical response for DeallocateMailbox

The response to this procedure does not contain significant data.

Important