Create Global Address List

Posted on 2012-09-03
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
    How long are you waiting for it to populate?
    What command are you using?
    LVL 18

    Assisted Solution

    Run Update-GlobalAddressList -Identity <new global address>
    LVL 52

    Accepted Solution

    '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

    Author Comment

    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
    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

    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
    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

    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

    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

    Thanks Rancy for the fast responses

    Featured Post

    Do email signature updates give you a headache?

    Do you feel like you are constantly making changes to email signatures? Are the images not formatting how you want them to? Want high-quality HTML signatures on all devices, including on mobiles and Macs? Then, let Exclaimer solve all your email signature problems today.

    Join & Write a Comment

    You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
    Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
    In this video we show how to create a User Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Mailb…
    In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…

    734 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

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now