Disabling mail for a group by using XML

Use the MailDisableGroup procedure of the Managed Exchange namespace to disable an Active Directory group from receiving mail. This means that the group will no longer function as a distribution list.

This procedure performs explicit internal permissions testing. Only members of admins@organization and domain administrators can call this procedure.

Example of a request that calls the MailDisableGroup procedure

<request>
  <procedure>
	<execute namespace="Managed Exchange" procedure="MailDisableGroup">
	<executeData>
		<path>LDAP://ou=my-contosoOrg,cn=Hosting,dn=contoso,dn=com</path>
		<cn>myDistributionList</cn>
	</executeData>
	</execute>
  </procedure>
</request>

Input for MailDisableGroup

The following input is valid for this request:

Typical response for MailDisableGroup

The response to this procedure does not contain significant data.

Important