My Site Cleanup Job and "user not found" error message in SharePoint 2010

My Site Cleanup Job:
The timer Job “My Site Cleanup Job” Which Runs hourly, looks for all users marked for deletion during profile import (Incremental or Full which doesn’t matters) and deletes their profiles from the profile database. It also assigned ownership to the deleted profile’s manager(if available) and an email is sent to the manager.

When the My site cleanup job deletes the user profile, it also deletes all profile specific data including any user Quick Links, Colleague Tracker, Profile Picture, etc. (But the users documents in My site will be in safe)

When My site will be deleted?
Although it sounds like “My Site Cleanup Job” it doesn’t actually deletes my sites. It only removes the user profile from the profile store and changes the my site owner to the user’s manager if there is one.  My Site will only be deleted if the Automatic Site Deletion is enabled. If you want to enforce the Automatic deletion of my sites you can use “Site Use Confirmation and Deletion”
(Central Administration > Application Management > Site Use Confirmation and Deletion)

If an user profile is missing during profile import, and if you try to get into My Site’s URL by:  http://mysite.company.com/personal/person.aspx?accountname=domain\user – SharePoint will display “user not found” error message.
SharePoint user not found error
which is obvious! Change the secondary owner if you want to access the user’s My site.

As the user is not found, You can’t change the secondary owner from central Admin web interface. Use stsadm: E.g.

stsadm -o siteowner -url https://mysite.company.com/personal/E372488 -secondarylogin global\salaudeen”

Advertisements

Posted on May 3, 2013, in My Site Cleanup Job and user not found error message in SharePoint 2010. Bookmark the permalink. Leave a comment.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: