Wednesday, 2 May 2012

SharePoint 2007: Automatic user profile removal (My Site Clean up Job)

In SharePoint 2007 the inactive user profiles are deleted by a timer job called “My Site Cleanup Job” (Central Administration > Operations > TimerJobs Definitions > My Site Cleanup Job").


It is NOT after the third consecutive failed import that the automatic profile deletion happens.
So if your profiles are still appearing after import check the following:
1. Is your LDAP filter importing disable profiles?
    The LDAP filter must be something like to avoid importing disabled profiles:
    (&(objectCategory=person)(objectClass=user)( !(userAccountControl:1.2.840.113556.1.4.803:=2)))
    check this article: http://support.microsoft.com/kb/827754

2. Is your "My Site Cleanup" timer job enable? (see above)
   Central Administration > Operations > TimerJobs Definitions > My Site Cleanup Job").
   Enable it!
3. Is "Windows SharePoint Services Timer " service running?
   Administrative Tools > Services > Windows SharePoint Services Timer 
   Start it!

No comments: