Create Global Address List

Posted on 2012-09-03
Medium Priority
Last Modified: 2012-09-05
I need two 'Global Address Lists'

1- 'Default Global List' = as it already is

2- 'Company2 Global List' This list needs to include all (Users with Mailboxes, Users with external email address, Resource Mailboxes, Contacts with External mailboxes, Mail enabled Groups, and Rooms) that have "xyz" as a 'Costume Attribute 1'

I know this needs to be done in shell, but every time I try this and set the 'address book policy' for the 'company 2' users the address list is empty.
Question by:remminger
LVL 16

Expert Comment

by:Carol Chisholm
ID: 38362425
How long are you waiting for it to populate?
What command are you using?
LVL 19

Assisted Solution

suriyaehnop earned 800 total points
ID: 38362636
Run Update-GlobalAddressList -Identity <new global address>
LVL 52

Accepted Solution

Manpreet SIngh Khatra earned 1200 total points
ID: 38363271
'Costume Attribute 1' ? -- Its Extendedattribute1

Run the below command against one user you know has this attribute assigned and get the Output and check the Attribute Name

Get-Mailbox "UserName" |FL
Get-User "UserName" |FL

Probably - ConditionalCustomAttribute1


- Rancy
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.


Author Comment

ID: 38370886
I used
New-GlobalAddressList -Name "Company2" -RecipientFilter {CustomAttribute1 -eq "Company2"}

in the Exchange Consle

but I also want it to list all Mailboxes, Users with external email address, Resource Mailboxes, Contacts with External mailboxes, Mail enabled Groups, and Rooms
LVL 52

Assisted Solution

by:Manpreet SIngh Khatra
Manpreet SIngh Khatra earned 1200 total points
ID: 38370888
Then the GAL has to be created with the filter you want ..... so you can simply assign those users or objects with the custom attribute or have to have some filter.

DO you want to list all Objects in AD or EMC that are Mail enabled ?

- Rancy

Author Comment

ID: 38370934
I have two types of accounts example "Company1" and "Company2"

Company 1 will not have a address book policy so they should see everything (that is not set to hide)

and Company 2 will work the exact same way but will only show items with "Company2" is typed in the 'Costume Attribute 1'  

so I need "Company 2 Global list" as GAL

and than I can create the Room, Users, Contacts, ext. in the Console
LVL 52

Expert Comment

by:Manpreet SIngh Khatra
ID: 38370941
Are you saying about Company =2 people only able to see company2 GAL ??

If so its GAL hosting ..... so will have to check for it.

- Rancy

Author Comment

ID: 38370959
Yes, but Company one can see everything.

I did notice if I do not have a 'Address list policy' active on a user they will see everything and also all address list. (that is good)

and when I set the 'Address List Policy'  for users on 'company 2' to use the ('company 2' GAL, 'Company 2 users', 'Company 2 rooms', 'Company 2 contacts') it will only show that.

I just need to make sure that
(New-GlobalAddressList -Name "Company2" -RecipientFilter *****)

**** would be to correct filter to get what I need.


Author Comment

ID: 38371049
Ok, I think i got what I need now thanks to all that helped
------------------------------------------- Step 1 (Added)

Name                                                                    RecipientFilter
----                                                                            ---------------
Company 2                                        CustomAttribute1 -eq 'Company 2'

------------------------------------------- Step 2 (added)

Name      "Display Name"      Container      Type
-------            -------------------             ---------------------
"Company 2 Global"            \      "Global Address List"
"Company 2 Users"      "Company 2 Users"      \      "Address List"
"Company 2 Contacts"      "Company 2 Contacts"      \      "Address List"
"Company 2 Groups"      "Company 2 Groups"      \      "Address List"
"Company 2 Rooms"      "Company 2 Rooms"      \      "Address List"

------------------------------------------- Step 3

Created 'Offline address book' and 'address book policy'

-------------------------------------------- Step 4

Assign the use to  'address book policy'

Author Closing Comment

ID: 38371057
Thanks Rancy for the fast responses

Featured Post

Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Exchange administrators are always vigilant about Exchange crashes and disasters that are possible any time. It is quite essential to identify the symptoms of a possible Exchange issue and be prepared with a proper recovery plan. There are multiple…
In this post, we will learn to set up the Group Naming policy and will see how it is going to impact the Display Name and the Email addresses of the Group.
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Suggested Courses
Course of the Month7 days, 23 hours left to enroll

616 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question