Bringing in the GAL from affiliated companies - keeping it clean

Posted on 2006-11-10
Last Modified: 2012-05-05
I'd like to import the userlist (email/phone #s) from 3 different companies.  I know I can do an export and import with the command line tool. And I can use FTP to move the files around.

I'm just wondering if anyone has a best pratice on keeping my AD / GAL clean with these imported (the 3 other companies = 50X the number of users on my system). I rather get some pointers if anyone has some, then make a mess and have to clean it up.


Question by:erikwhiteway
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
LVL 23

Accepted Solution

Stacy Spear earned 125 total points
ID: 17974517
Use SimpleSync if you are worried. I personnally use Scripts to do my work.

The problem you will have is that those folks may export computers, admin accounts, and all other kinds of crap you don't want. I clean a lot with regexs making sure that the thing doesn't have "smtp" for instance is the displayfield for instance. Also I only want users that have an email address, a home mailboxserver, not locked out, and is in the users ou.

Author Comment

ID: 17990087
I've been testing sctripts  they work ok, but I have an issue:

for a few people who exist in the other GALs, they also need full accounts on my system.  when I import them, they get 2 enteries, and users can't send mail to them (even it they hand type the full address).  Is there a way to stop the import function from making the dups?

Also what is this simpleSync?  do you have a link to it?
LVL 23

Expert Comment

by:Stacy Spear
ID: 17990175

You need to delete the contact one. Duplicates is one of the sticking points about any GAL replication at the moment. It seems that only if the thing is in the exact same container or OU is there a warning given. Other than that, you don't know it until a user tries to email it. I have been working on a way to avoid that here, but with about 60,000 contacts, anything I do is snail slow.
Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.


Author Comment

ID: 17990333
I wonder if excel script or some grep type tools could be used to remove a 'list' of known duplicates.  Auto would be nice, but even if I maintain a list of manual removals, I'll have to do that.
LVL 23

Expert Comment

by:Stacy Spear
ID: 17990424
:) One of the issues is that mail isn't an indexed property in AD (at least here). I have recommended it but the fear is that with so many contacts and users, that the increase in size of AD will overload it. What can you do if you can't change the rules. lol

Author Comment

ID: 17990464
I may get someone to write a little DB program to do a pre import check, remove the dups from the text file before the import.

I'll talk to my progammer and see what the effort level would be.  I don't think it will be to bad, if I KISS it.
LVL 23

Expert Comment

by:Stacy Spear
ID: 17990500
That sounds like an idea I may try too. I have an underused SQL server sitting around.

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

A list of top three free exchange EDB viewers that helps the user to extract a mailbox from an unmounted .edb file and get a clear preview of all emails & other items with just a single click on mailboxes.
There are times when we need to generate a report on the inbox rules, where users have set up forwarding externally in their mailbox. In this article, I will be sharing a script I wrote to generate the report in CSV format.
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Suggested Courses
Course of the Month11 days, 10 hours left to enroll

623 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