Link to home
Start Free TrialLog in
Avatar of remminger
remminger

asked on

Create Global Address List

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.
Avatar of Carol Chisholm
Carol Chisholm
Flag of Switzerland image

How long are you waiting for it to populate?
What command are you using?
SOLUTION
Avatar of suriyaehnop
suriyaehnop
Flag of Malaysia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of remminger
remminger

ASKER

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
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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
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
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.

Thanks
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'
Thanks Rancy for the fast responses