Use the MailEnableGroup procedure of the Managed Exchange namespace to enable a group for mail. This procedure enables an Active Directory group to receive mail. This group functions as a distribution list.
This procedure performs explicit internal permissions testing. Only members of admins@organization and domain administrators can call this procedure.
<request>
<procedure>
<execute namespace="Managed Exchange" procedure="MailEnableGroup">
<executeData>
<path>LDAP://ou=contosoOrg,ou=Hosting,dc=contoso,dc=com</path>
<cn>DL1</cn>
<proxyAddress>dl1@contosoOrg.com</proxyAddress>
</executeData>
</execute>
</procedure>
</request>
The following input is valid for this request:
In the <path> element, specify the Lightweight Directory Access Protocol (LDAP) path of the organization in which the group resides.
<path>LDAP://LDAP path of the container organization</path>
Use the <cn> element to specify the name of the Active Directory group that you want to enable for mail.
<cn>name of the distribution list</cn>
Use the <proxyAddress> element to specify the proxy address for the distribution list.
<proxyAddress>proxy address of the group</proxyAddress>
The response to this procedure does not contain significant data.
Important