Move Contacts From GAL to their own Address List
Hi everyone, When we create contacts in active directory and set them to be mail enabled they are automatically added to the Global Address List (GAL). All these contact are being added to their own Organisation Unit (OU) called 'SpecialContacts' in active directory. What i want to happen is to prevent these entries in the 'SpecialContacts' OU from being in the GAL and instead have them show inside 'SpecialContacts' Address List thats a part of the GAL. This 'SpecialContacts' address list uses filters to search the domain for contacts with the Descritpion containing 'SpecialContacts'. filter is: (&(objectCategory=person)(objectClass=contact)(description=MAPS*)) But i don't know how to do this... Cheers for any help...
July 29th, 2009 2:54am

You are talking about GAL lookup restriction(or gal segregation), which is a non supported scenario from Microsoft.There arequite a setof issues which are caused due to itCheck out this link http://blogs.msdn.com/dgoldman/archive/2008/02/17/exchange-2007-address-list-segregation-document-updates.aspxHarpreet Singh Khandiyal (http://support.microsoft.com/kb/555375)
Free Windows Admin Tool Kit Click here and download it now
July 29th, 2009 3:05am

Hi, By default all contacts are part of the Default GAL. So if u want to exclude some contact or all contact from GAL then you will have to change the Recipient Filter of Default GAL. This is the filter of Default GAL {(Alias -ne $null -and (ObjectClass -eq 'user' -or ObjectClass -eq 'contact' -or ObjectClass -eq 'msExchSystemMailbox' -or ObjectClass -eq 'msExchDynamicDistributionList' -or ObjectClass -eq 'group' -or ObjectClass -eq 'publicFolder'))} You will have to play with-or ObjectClass -eq 'contact' . Also if you want to include all of your speciial contacts to an Address List then you can use any of the CustomAttribute of Contacts. Then you can use this command to create your special contacts address list e.g. New-AddressList -Name SpecialContacts -Container '\' -IncludedRecipients 'Contacts' -ConditionalCustomAttribute1 special Where specialwould be CustomAttribute1 of all of your special contacts, which means u will have to setCustomAttribute1 to special for all the special contacts using Set-MailContact command. i think you can also exclude your special contacts from Default GAL using this CustomAttribute1 in the filter of Default GAL. You will have to play with the condition for contact i.e. -or (ObjectClass -eq 'contact' -andConditionalCustomAttribute1 -ne special) You will have to use Set-GlobalAddressList command and change the filter of Default GAL like this Set-GlobalAddressList 'Default Global Address List' -RecipientFilter{(Alias -ne $null -and (ObjectClass -eq 'user'-or (ObjectClass -eq 'contact' -andConditionalCustomAttribute1 -ne special)-or ObjectClass -eq 'msExchSystemMailbox' -or ObjectClass -eq 'msExchDynamicDistributionList' -or ObjectClass -eq 'group' -or ObjectClass -eq 'publicFolder'))} I have not tested it so, you will have to test it all on your side and use it in a test environment first, and confirm it. Regards,Laeeq Qazi|Snr Software Engineer(Exchange + Sharepoint + BES + DynamicsCRM) www.hostingcontroller.com
July 29th, 2009 11:41am

Yes it is very well possible. If you are running EX2003 then you can follow below steps in ESM Expand Recipients ->Then select All Global Address List ->Create new Address List Give name of Address List ->Then Click on Filter Rules ->Under Find ->Select Exchange Recipients ->Uncheck all except Contacts with external email addresses then in Advanced tab select contact and the "field where you have given the description as 'SpecialContacts'. Click on ok and then click on finish. If you are running the exchange 2007 then Laeeq Qazi has given you instructions Vinod |CCNA|MCSE 2003 +Messaging|MCTS|ITIL V3|
Free Windows Admin Tool Kit Click here and download it now
July 29th, 2009 2:06pm

Hi, For the Exchange 2003, we need to create a new GAL to make the contacts not display in the GAL since the original GAL couldn't be modified. Then create a SpecialContacts address list to make only contacts include under All Address Lists in ESM. Thanks Allen
July 31st, 2009 9:45am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics