Applies to: Exchange Server 2007 SP3, Exchange Server 2007 SP2, Exchange Server 2007 SP1, Exchange Server 2007
Topic Last Modified: 2007-01-02

This topic explains how to use the Exchange Management Console or the Exchange Management Shell to add or remove an address list from an offline address book (OAB). By default, there is an OAB named the Default Offline Address Book that contains the global address list (GAL). OABs are generated based on the address lists that they contain. To create custom OABs that users can download, you can add or remove address lists from OABs. 

Note:
The changes to the address list will not be available for client download until after the OAB in which the address list resides has been generated. For more information, see How to Update the Offline Address Book.

Before You Begin

To perform the following procedure, the account you use must be delegated the following:

  • Exchange Organization Administrator role

For more information about permissions, delegating roles, and the rights that are required to administer Microsoft Exchange Server 2007, see Permission Considerations.

Procedure

To use the Exchange Management Console to add or remove an address list from an offline address book

  1. Start the Exchange Management Console.

  2. In the console tree, expand Organization Configuration, and then click Mailbox.

  3. In the result pane, click the Offline Address Book tab, and then click the OAB that you want to edit.

  4. In the action pane, click Properties.

  5. In <Offline Address Book Name> Properties, click the Address Lists tab.

  6. To add an address list to the OAB or remove an address list from the OAB, select the Include the following address lists check box, and then perform one of the following tasks:

    • Click Add to select one or more address lists to add to the OAB. You can select one or multiple address lists.

    • Click Remove (Remove icon) to remove the selected address list from the OAB.

  7. Click Apply to save your changes without closing, or click OK to save your changes and close <Offline Address Book Name> Properties.

To use the Exchange Management Shell to add or remove an address list from an offline address book

  • To add an address list to an OAB, run the following command:

    Copy Code
    Set-OfflineAddressBook -Identity <OfflineAddressBookIdParameter> -AddressLists <AddressBookBaseIdParameter>
    
  • When using the AddressLists parameter, any address lists that currently exist will be overwritten. You must include existing address lists when you use the AddressLists parameter if you want to continue to generate those address lists in your OAB. For example, if you have AddressList1 and AddressList2, and you want to add AddressList3, run the following command:

    Copy Code
    Set-OfflineAddressBook -Identity "My OAB" -AddressLists AddressList1,AddressList2,AddressList3
    
  • To remove an address list from an OAB, omit that address list from the list of addresses. For example, if you have AddressList1, AddressList2, and AddressList3, and you want to remove AddressList3, run the following command:

    Copy Code
    Set-OfflineAddressBook -Identity "My OAB" -AddressLists AddressList1,AddressList2
    

For detailed syntax and parameter information, see the Set-OfflineAddressBook reference topic.

For More Information

For more information about managing OABs, see Managing Offline Address Books.