Udostępnij za pośrednictwem


How to Remove a Mail Contact

Microsoft Exchange Server 2007 will reach end of support on April 11, 2017. To stay supported, you will need to upgrade. For more information, see Resources to help you upgrade your Office 2007 servers and clients.

 

Applies to: Exchange Server 2007, Exchange Server 2007 SP1, Exchange Server 2007 SP2, Exchange Server 2007 SP3

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

  1. Start the Exchange Management Console.

  2. In the console tree, expand Recipient Configuration, and then click Mail Contact.

  3. In the result pane, click the mail contact that you want to remove.

  4. In the action pane, under the name of the mail contact, click Remove.

  5. 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:

    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.