Note: Forums will be making significant UX changes to address key usability improvements surrounding search, discoverability and navigation. To learn more about these changes please visit the announcement which can be found HERE.

问题 The My Site of [user name] is scheduled for deletion

  • Tuesday, October 12, 2010 2:23 PM
     
     

    Hey Guys,

    some of my users are getting the following email:

    ----- Original Message -----

    From: SharePoint

    To: user

    Sent: Sun Oct 10 15:16:26 2010

    Subject: The My Site of (username) is scheduled for deletion

     

    The My Site of user is scheduled for deletion in 3 days. As their manager you are now the temporary owner of their site. This temporary ownership gives you access to the site to copy any business-related information you might need. To access the site use this URL: http://moss/my/personal/user

    Now the issue is, that user has not been deleted, so there is no reason for their site to be deleted. 

    any ideas how to disable this?

     

    Thanks,

    Tony

All Replies

  • Tuesday, October 12, 2010 3:59 PM
     
     
    Have you checked within the Web Application setting, within 'Site Confirmation and Deletion' settings?
    Regards | Aaron www.aaron-rendell.co.uk | SharePoint Consultant | Microsoft Gold Partner - Silversands, Poole, Dorset, England
  • Tuesday, October 12, 2010 4:57 PM
     
     
    i did and everything is unchecked...
  • Tuesday, October 12, 2010 5:01 PM
     
     
    The message is going out because that user has NOT been included in the profile import for the last 3 full imports.  That's why SharePoint thinks they are a deleted user.  The short term fix is to turn off Automatic Web site deletion for the farm.  But the longer term fix is to take a look at the logs for user profile import and figure out why those users haven't been importing successfully.
    Paul Stork SharePoint Server MVP
  • Wednesday, October 13, 2010 1:47 PM
     
     
    The problem is that Automatic Web Site Deletion IS turned off.
  • Wednesday, October 13, 2010 1:55 PM
     
     

    Though it is turned Off, mail with the message 'scheduled for deletion' will be sent though it will not delete. And the reponsible for this 'User Profile Change Cleanup Job'. 

    Check the Exclusion filter to verify if these users are being removed by that. As said by Paul only fix is to check Profile Import, from my understanding this mail cannot be stopped if they are not imported from AD to Profile Store.


    Satheesh
  • Wednesday, October 13, 2010 8:51 PM
     
     
    Today the site was deleted and the user had to recreate it from scratch.  The only exclusion filter we have is userAccountControl equals 202 to ensure that only the enabled accounts are synched.
  • Thursday, October 14, 2010 10:38 AM
     
     

    Okay. Based on the condition what you have set, i am really not sure of the impact. However the explicit condition what we have used restrict disabled account from importing is

    userAccountControl "Bit on equals" 2.

     


    Satheesh
  • Thursday, October 14, 2010 2:23 PM
     
     

    Hi Satheesh,

     

    That is what i used to have.  Then I had to place a support call to Microsoft because I wasnt synchronizing...and they had me change it.

     

    Thanks,

    Tony

  • Friday, October 15, 2010 2:35 PM
     
     

    This article is what i have used

    http://blogs.msdn.com/b/brporter/archive/2010/02/20/excluding-disabled-user-accounts-in-sharepoint-2010.aspx for our environment which is working good.

    Use a LDAP browser to verify the actual attributes of missed user

    Example LDAP browser is Softerra LDAP Browser 2.6.


    Satheesh
  • Thursday, October 21, 2010 7:37 AM
     
     

    Hi,

    apologize for a mistake here. As said by Tone, though autodeletion is disabled for all the web applications, it still went and delete the my site of the user. It was not expected behavior though.


    Satheesh
  • Monday, November 08, 2010 2:14 PM
     
     

    Hi,

    We have this same kind of issue with my site cleanup. For some reason few users was marked as deletion (we don't know yet why) even that the users are active and now their managers are receiving these notification emails. Now one those user's my site was deleted this morning!!!

    So the first question is how to stop this deletion process/workflow if the user account/profile is active again? Is there some stsadm/powershell command which can be used for this?

    Second one is that is there a way to just disable these notifications -> The My Site of (username) is scheduled for deletion? We don't want disable the clean up job, so that the dead profiles and my sites are deleted but we don't either want that these notifications are sent to managers.

    Regards,

    Pete

  • Tuesday, November 09, 2010 9:50 AM
     
     

    Hi Pete,

    I am exactly in the same situation. Don't want to disable the job, but stop the mail notification to be sent and actually stop the site being deleted. Let us see if someone else has any say on this.


    Satheesh http://spsatheesh.wordpress.com/
  • Monday, November 22, 2010 2:19 PM
     
     

    Hi,

    Nice to know that I am not alone :)

    But no answers... is it really so that there is no way to disable the The My Site of (username) is scheduled for deletion notifications and stop the deletion process if it has already started?

    Regards,

    Pete

  • Sunday, November 28, 2010 4:34 PM
     
     

    Hi Pete,

     

    We are having the exact same issue.  Did you ever find a fix that worked?

     

    Thanks,

     

    Jamie

  • Monday, November 29, 2010 9:26 PM
     
     

    Hi,

    Unfortunately I have not found any real solution for this problem but I planned to test the use of profile_RemoveUser stored procedure like the following blog posts instructs... but without cursors :)

    http://httpcode.com/blogs/PermaLink,guid,1cef79c3-bfeb-4eee-99ac-1c8b6050cf2b.aspx

    http://digantakumar.com/2010/02/26/sharepoint-mysite-is-deleted/

     

    If I understood correctly that way I am able to get rid of those manager email messages but still be able to clean up dead profiles and my sites.

     

    Regards,

    Pete


  • Sunday, December 19, 2010 9:21 PM
     
     

    Few facts about this functionality

    -> My site will be deleted on 14th day and cannot be configured

    -> Mail will be sent irrespective of 'Site usage confirmation' for that web application

    ->Manager will be assigned as secondary contact of users personal site.

    One good thing, they have a interface as 'IProfileEventInterface' which can be used to implement a method 'PreProfileDeleted' which does all these operation

    Once a class implementing this interface is defined, we can assign this through stsadm command 'stsadm -o profiledeleteeventhandler'

    More details on

    http://spsatheesh.wordpress.com/2010/12/15/the-my-site-of-xxx-is-scheduled-for-deletion/


    Satheesh http://spsatheesh.wordpress.com/