Wednesday, January 21, 2009

Deleting SharePoint user profiles and Search

I have a solution which filters the imported users from AD based on an LDAP query string.

When a user is disabled and no longer matches that query, it is flagged by SharePoint as ‘missing from import’. The user profile is still indexed and then still appears in the search results.

It turns out that the “My Site Cleanup Job” which by default runs hourly, does remove the user profiles that have been flagged. Then when the incremental index update occurs, that user no longer appears in the People Search…

No comments: