Applies to: Exchange Server 2007 SP3, Exchange Server
2007 SP2, Exchange Server 2007 SP1, Exchange Server 2007
Topic Last Modified: 2007-07-05
This topic explains how to use the Exchange Management Console or the Exchange Management Shell to remove an existing mail contact from the Active Directory directory service.
Important: |
---|
There are two types of mail contacts in Exchange 2007: mail contacts and mail forest contacts. Mail forest contacts are read-only recipient objects that are updated only through Microsoft Identity Integration Server (MIIS) or a similar custom synchronization. You cannot remove or modify a mail forest contact by using the Exchange Management Console or the Exchange Management Shell. |
Before You Begin
To perform this procedure, the account you use must be delegated the following:
- Exchange Recipient Administrator role
- Account Operator role for the applicable Active Directory
containers
For more information about permissions, delegating roles, and the rights that are required to administer Exchange Server 2007, see Permission Considerations.
Procedure
To use the Exchange Management Console to remove a mail contact
-
Start the Exchange Management Console.
-
In the console tree, expand Recipient Configuration, and then click Mail Contact.
-
In the result pane, click the mail contact that you want to remove.
-
In the action pane, under the name of the mail contact, click Remove.
-
In the warning that asks if you are sure you want to remove the mail contact, click Yes.
To use the Exchange Management Shell to remove a mail contact
-
Run the following command:
Copy Code Remove-MailContact -Identity "Ellen Adams" -DomainController Contoso.Domain.Com
For detailed syntax and parameter information, see the Remove-MailContact reference topic.
For More Information
For more information about the Exchange Management Shell, see Using the Exchange Management Shell.