Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

How can I automatically delete "Missing from Import" profiles

  Asked By: Ali    Date: Dec 03    Category: Sharepoint    Views: 2467

In my SPS2003 environment, I have a profile database that is connected to a
Window 2000 Active Directory on a domain controller. I run a full import every

As you may know, when a user is deleted from Active Directory, the next import
to the profile database will not delete his profile. It will only mark it as
"Missing from Import" (and make it appear in the "Missing from Import" view).
The profile is still searchable for the users.

Is there a way to automatically delete these "Missing from Import" profiles to
make sure that the Profile database matches the Active Directory ? At the moment
it seems I have no other choice than to manually delete them every morning.



2 Answers Found

Answer #1    Answered By: Tera Callahan     Answered On: Dec 03

The user will be deleted after multiple imports show the user as missing. This
is done to avoid removing users that are temporarily unavailable due to a
temporary AD failure. If you run the import  3x the user should be automatically

Answer #2    Answered By: Mark Davis     Answered On: Dec 03

I can't speak to how we did it, since I was the analyst and not the
coder for the project... but we used the Sharepoint API to put
together a script which checks for profiles  which are not in AD and
removes them, because we did not want to wait for the 3 failed
imports to have the profile  be removed.

I would recommend taking a look at the API. I know it wasn't a real
time-consuming fix once the coder started out down that road.