Answered by:
Restore deleted AD user on Sharepoint

Question
-
Hi,
I do have SharePoint 2013 Farm scenario on my Production environment with Active Directory on Server 2008R2. While doing some cleaning up my SharePoint users on AD, I mistakenly deleted another SharePoint user which does not needed to be deleted and there was not enabled Active directory Recycle Bin too... Once I realized that i have deleted wrong SharePoint user, I create a new user with same login name so that user can access to his SharePoint account. I thought this will work, but now user is complaining that he is not able to access SharePoint anymore.
Can anyone help me to sort out his issue?? Thank you.
- Edited by AerrowMVP Monday, July 25, 2016 5:55 PM
Monday, July 25, 2016 5:48 PM
Answers
-
Hi Aerrow- did you add him with permissions on SharePoint after creating his account? How did you add him, in a group or individually? Other things: have the user exit out of all browser windows, then re-open the browser and try again. You may also have to run a crawl.
cameron rautmann
- Proposed as answer by Wendy DZMicrosoft contingent staff Friday, August 5, 2016 9:36 AM
- Marked as answer by Wendy DZMicrosoft contingent staff Monday, August 8, 2016 8:43 AM
Monday, July 25, 2016 7:47 PM -
Hi Aerrow,
I am agreed with cameron as he said user profile synchronization in user profile service need to perform to sync the user from AD to Sharepoint.
Here you can try to force a sync with the following command
Get-SPUser –Web https://mysitecollection | Set-SPUser –SyncFromAD
Set-SPUser –Identity "domain\username" –SyncFromAD –Web https://mysitecollection
KRISHANA KUMAR
SharePoint Architect
Please click "Mark As Answer" if this post solves your problem or "Vote As Helpful" if it was useful
- Edited by KRISHANA KUMAR Monday, July 25, 2016 8:08 PM
- Proposed as answer by Wendy DZMicrosoft contingent staff Friday, August 5, 2016 9:36 AM
- Marked as answer by Wendy DZMicrosoft contingent staff Monday, August 8, 2016 8:43 AM
Monday, July 25, 2016 8:08 PM
All replies
-
Hi Aerrow- did you add him with permissions on SharePoint after creating his account? How did you add him, in a group or individually? Other things: have the user exit out of all browser windows, then re-open the browser and try again. You may also have to run a crawl.
cameron rautmann
- Proposed as answer by Wendy DZMicrosoft contingent staff Friday, August 5, 2016 9:36 AM
- Marked as answer by Wendy DZMicrosoft contingent staff Monday, August 8, 2016 8:43 AM
Monday, July 25, 2016 7:47 PM -
Hi Aerrow,
I am agreed with cameron as he said user profile synchronization in user profile service need to perform to sync the user from AD to Sharepoint.
Here you can try to force a sync with the following command
Get-SPUser –Web https://mysitecollection | Set-SPUser –SyncFromAD
Set-SPUser –Identity "domain\username" –SyncFromAD –Web https://mysitecollection
KRISHANA KUMAR
SharePoint Architect
Please click "Mark As Answer" if this post solves your problem or "Vote As Helpful" if it was useful
- Edited by KRISHANA KUMAR Monday, July 25, 2016 8:08 PM
- Proposed as answer by Wendy DZMicrosoft contingent staff Friday, August 5, 2016 9:36 AM
- Marked as answer by Wendy DZMicrosoft contingent staff Monday, August 8, 2016 8:43 AM
Monday, July 25, 2016 8:08 PM