Use the DeleteExchangeServices procedure of the Managed Exchange namespace to deactivate Exchange services for an organization. This procedure deactivates Exchange services for an organization, including all mailbox stores and other Exchange objects.
This procedure performs explicit internal permissions testing.
Caution
<request>
<procedure>
<execute namespace="Managed Exchange" procedure="DeleteExchangeServices">
<executeData>
<owner>LDAP://OU=Reseller1,OU=Hosting,DC=contoso,DC=com
<SMTPDomain>contosoOrg.com</SMTPDomain>
</executeData>
</execute>
</procedure>
</request>
The following input is valid for this request:
In the <owner> element, specify the name of the organization to which this organization belongs. For example, if this organization is a customer organization within a reseller organization, the reseller is the parent organization or owner organization for this customer. Similarly, the hosting organization to which the reseller belongs is its owner organization.
<owner>LDAP://LDAP path of the owner organization</owner>
In the <SMTPDomain> element, specify the SMTP domain of the organization for which you are deactivating Exchange services.
<SMTPDomain>SMTP domain of the organization</SMTPDomain>
The response to this procedure does not contain significant data.
Important