Solved

Why does My Site delete from sharepoint when user is assigned to a different OU in Active Directory

Posted on 2014-03-10
3
2,314 Views
Last Modified: 2014-03-10
Hello

We use windows server 2008 and sharepoint 2010.

Recently an account was moved from the All Corporate Users OU in Active Directory to another OU called Office 365 Users.

When that happened, the manager of the staff in question received the following email:
____________________________________

From: administrator@example.ca
Sent: Saturday, March 01, 2014 01:49 AM
To: [Manager Name]
Subject: The My Site of [User Name] is scheduled for deletion

The My Site of [User Name] is scheduled for deletion in 14 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://sharepoint/my/[User Name]
____________________________________________________

The user can still access sharepoint, as well as mysite.

I've looked in the sync settings for SharePoint, it is syncing with the domain. I couldn't find anywhere that it was specifying an OU.

I want members of All Corporate Users and Office 365 Users to work with our local sharepoint 2010 and members of Office 365 Users can use Office 365 via single sign on.

Why did the manager received this message and how do I fix it?
0
Comment
Question by:itkadmin
  • 2
3 Comments
 
LVL 38

Accepted Solution

by:
Justin Smith earned 500 total points
ID: 39917758
When a user changes OU's, they get a new Distiguished Name in Active Directory.  This makes SharePoint think that it's a completely new user and the previous user has been deleted.  

If I were you I'd do the following:

1. Backup all user MySites
2. Disable the MySite Clean Up Job (from Central Admin - Job Definitions)
3. Kick off a full Profile Sync (from Central Admin - User Profile App)
4. After the sync completes, kick off another Full Sync
5. After the second sync completes, go the User Profiles in the Profile App and click the drop down to "Missing".  Verify none are missing.
6. Re-enable the MySite Clean Up Job (if you wish)

Worst case the job deletes the MySIte, but you can just restore it.
0
 
LVL 2

Author Comment

by:itkadmin
ID: 39917834
Thanks.

I did all this. No Profiles are missing in step 5.

Why 2 profile syncs?

As for the MySite Clean Up Job.  Do you have a recommendation as to weather it should run or not?
0
 
LVL 38

Expert Comment

by:Justin Smith
ID: 39918088
I don't have a recommendation, just depends on your needs.  It's helpful in some situations, and in some it's not needed.

It takes 2 profile syncs to correctly mark / unmark missing profiles.
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Resolve DNS query failed errors for Exchange
Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now