We are exluding a given OU from the profile import (OU=OLD): enter image description here

However, a user belonging to that OU still shows up in the people picker: enter image description here

Since the implementation of SharePoint here is really recent, I don't think that this user ever logged into SharePoint and created anything in there.

Does anyone has an idea about where it could come from? Could it be related to the fact that this account still belongs to one group that is probably imported?

Thanks in advance.

  • 1
    I think you should check the proeprties of the user,and check if it part of different OU or groups which is on Import path. – Waqas Sarwar MVP May 6 '16 at 12:58
  • Are you using AD Import or FIM? – Matthew McDermott May 7 '16 at 12:04

The SharePoint Active Directory Import does not mark the profile to be deleted either with incremental or Full Import when they are not selected and only way to remove the obsolete users is here.

You can follow below mentioned steps to solve your issue.

  1. Run Full Import
  2. Post that run Use SharePoint Management Shell to Run following

Management Shell Commands

$upa = Get-SPServiceApplication -id <Identity of User Profile Service Application>

Set-SPProfileServiceApplication -Identity $upa – PurgeNonImportedObjects $true
| improve this answer | |
  • Thanks for the way to purge those old accounts. However, I wonder how the account got imported in the first place. – E. Jaep May 6 '16 at 12:37
  • For that i need to look into your server... :) – Hardik May 6 '16 at 12:45
  • I guess that won't be possible. Thanks anyway for the answer. – E. Jaep May 6 '16 at 12:59
  • ok but if your problem is resolved than please mark the answer. So other can get the help from it. Thanks – Hardik May 6 '16 at 13:04
  • If you are using FIM the answer will be in the logs for the Import Connection. – Matthew McDermott May 7 '16 at 12:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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