Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

A user "Marketing Services" (mk@company.com) was added to a list permission about 4 weeks ago. The department decided to change the name to "Marketing Support" and AD was updated (3 weeks ago). Now I go back to the same list and delete the "Marketing Services" and do a user search for "marketing" or mk@company.com and it still showing the old name "Marketing Services" and "Marketing Support" does not show up in the list. By the way, this account is never imported into user profile db.

How to fix this issue?

share|improve this question
    
Does SharePoint maintains a copy of the user somewhere? If yes, may be i can delete this user from everywhere and re-add the user. btw, this particular user is not in user profile database. We do not import service accounts profile db. –  M. Todd Apr 26 '12 at 14:13
add comment

1 Answer

up vote 1 down vote accepted

SharePoint keeps its own list of user information at the site level and it does not update automatically if the name is changed in AD. Best is to use powershell to sync the userlist with AD using the set-spuser command. It has a switch to sync a user. Set-SPUser -Identity domain\user -Web http://yourintranet -SyncFromAD will do the sync. You can then run get-spuser to confirm that all is updated. See: http://technet.microsoft.com/en-us/library/ff607827.aspx

share|improve this answer
    
OMG. you saved my 2 weeks worth pain. Fixed and now shows the new display name. Thanks A BILLIONS. –  M. Todd Apr 26 '12 at 15:17
    
I am glad I could help out :) Had this situation a couple of times before in the 2007 era and then had to fix everything with a console app and it was quite a pain. Gotta love Powershell :) –  Roel Hans Bethlehem Apr 26 '12 at 17:06
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.