TechRid

Home » Exchange Server 2010 » Exchange Miscellaneous » Implementating Address book policy in Exchange 2010

Implementating Address book policy in Exchange 2010


Implementing Address Book Policy – Exchange Server 2010

 

Global address list (GAL) segmentation (also known as GAL segregation) is the process whereby administrators can segment users into specific populations to provide customized views of their organization’s GAL. Address book policies (ABPs) allow you to segment users into specific groups to provide customized views of your organization’s global address list (GAL). When creating an ABP, you assign a GAL, an offline address book (OAB), a room list, and one or more address lists to the policy. You can then assign the ABP to mailbox users, providing them with access to a customized GAL in Outlook and Outlook Web App. The goal is to provide a simpler mechanism to accomplish GAL segmentation for on-premises organizations that require multiple GALs. .

 

In the following figure, Address Book Policy A consists of a subset of the various address objects that exist in the organization. The resulting scope of an ABP is equal to that of the GAL contained in the policy. When the ABP is created and assigned to a user, the address objects in the ABP become the scope of the objects the user is able to view.

 

Example:

ABP1

 

 

Prerequisites:

1: Exchange 2010 should not be installed on a GC or DC, Especially Client Access Server

(Address book policies won’t work for Outlook but It will work for OWA alone,)

2: Any Client Device or Client Software access Active Directory directly for Directory Access then

ABP won’t work Like, Outlook is hard coded to GC &

Entourage 2008

3: Outlook clients should be at least – Outlook 2007, Outlook 2010

Outlook 2003 with Latest Service pack does recognize Address book policies but we might face little complications, its my personal experience Like , login credentials should be the exact same as the Email Credential

 

Those are the most important Check lists before you going to implement it

 

Create new Address List/Room List/GAL and OAL (offline address list),

We need to Create 4 things for Every Address Book Policy,

 

  1. Global Address list
  2. Address list
  3. Rooms list
  4. Offline Address book now will create an Address Book Policy for the Melody

 

  1. Global Address list

 

Creating a Global Address list

 

Need Exchange Management Shell to create Global Address list,

Where users with Custom attribute 1 with value “Helpdesk” only will show up

 

New-GlobalAddresslist “Helpdesk-GAL” -ConditionalCustomAttribute1 ” Helpdesk” -IncludedRecipients “AllRecipients”

 

Input:

ABP2

 

Output:

 

ABP3

 

  1. Address List

 

Creating a Address list

 

New-Addresslist Helpdesk-AL -ConditionalCustomAttribute1 “Helpdesk” -IncludedRecipients “AllRecipients” Ran the below command: get-addresslist

 

Input:

ABP4

Output:

ABP5

 

 

Now run the command Get-Addresslist

 

  1. Room List

 

Creating a Room List

New-AddressList -Name “Helpdesk-Room” -RecipientFilter {(Alias -ne $null) -and (CustomAttribute1 -eq “Helpdesk”) -and (RecipientDisplayType -eq “ConferenceRoomMailbox”) -or (RecipientdisplayType -eq “SyncedConferenceRoomMailbox”)}

 

Input:

ABP6

 

Output:

ABP7

 

  1. Offline Address Book

 

Creating a Offline Address Book

 

New-OfflineAddressBook -Name “Helpdesk-OAB” -AddressLists Helpdesk-GAL

 

Input:

ABP8

 

Output:

ABP9

 

 

Get-OfflineAddressBook

Input:

ABP10

Output:

ABP11

 

Now Let’s create ABP (Address Book Policy) using the above address lists

 

Execute the below powershell command to create a new ABP (Address Book Policy) with

 

Address list Helpdesk-GAL,

 

Offline address Book Helpdesk-OAB,

 

Global address list Helpdesk-GAL and

 

Room list Helpdesk-Room.

 

Address book Policy

 

Input:

 

New-AddressBookPolicy -Name “Helpdesk-ABP” -AddressLists (get-AddressList Helpdesk-AL*) -OfflineAddressBook “Helpdesk-OAB” -GlobalAddressList “\Helpdesk-GAL” -RoomList “\Helpdesk-Room”

 

So let’s see the output as shown below:

ABP12

 

The above command creates the policy, and it is now ready to be assigned. We can assign the policy to the users.

 

Here you can either use the EMC (Exchange Management Console), or the EMS (Exchange Management Shell) to assign the policy to mailbox users.

 

You can run in Exchange Management Shell

Get-mailbox “User1” | Set-mailbox –customattribute1 “Helpdesk”

 

To apply for all the mailboxes

Get-mailbox | Set-mailbox –customattribute1 “Helpdesk”

 

To apply for the Users in a Specific Database

Get-mailbox –database “Database Name” | Set-mailbox –customattribute1 “Helpdesk”

ABP13

 

To Apply for one Distribution group

Get-DistributionGroup “Group1” | Set-Distributiongroup –customattribute1 “Helpdesk”

 

To apply for one Dynamic Distribution Group

Get-DynamicDistributionGroup “Group1” | Set-Distributiongroup –customattribute1 “Helpdesk”

 

Post Creating the Address book policy, we applied them to the users.

Now log into the mailbox & verify that the user is able to view only Helpdesk GAL not the default GAL .

 

Verification:

 

1: Open EMC (Exchange Management Console)

 

Navigate to Recipient configuration -> Mailbox -> Custom Attribute see if you are able to find the custom attribute to the assigned users.

 

2: Launch the Outlook and check the Offline Address Book

 

For More Info:

Address Book Policy – ABP

Custom Attributes – ABP

 

Praveen Kumar

MCTS, MCITP | Exchange Server

Publisher @ Techrid.com

 


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: