I have set this filter in user profile service to exculte delted
userAccountControl |
bit on equals |
2 but still getting deleted profiles in user profile synch service? what else i need to do? Thanks |
Technology Tips and News
I have set this filter in user profile service to exculte delted
userAccountControl |
bit on equals |
2 but still getting deleted profiles in user profile synch service? what else i need to do? Thanks |
I have set this filter in user profile service to exclude deleted or disabled Accounts
userAccountControl bit on equals 2
but still getting deleted profiles in user profile synch service? what else i need to do?
Thanks
Hi,
As I understand, you want to exclude the deleted or disabled Accounts in user profile sync in SharePoint 2010.
You have set userAccountControl bit on equals 2, go back to view or edit to check if the number has changed. If the number has changed, you could go to install October 2010 CU. This is a known bug and is fixed in the October 2010 CU and later.
The article below is about Description of the SharePoint Server 2010 Cumulative Update Server Hotfix Package (MOSS server-package): October 26, 2010
https://support.microsoft.com/en-us/kb/2394320
The next thing to do is to combine filters. You want to exclude disabled accounts and also accounts which have the Password Never Expires (ADS_UF_DONT_EXPIRE_PASSWD) flag set (these are commonly service accounts). Therefore you need a Bit on equals 17 for the accounts with the Password Never Expires flag in addition to the Bit on equals 2 for disabled accounts. And the operator between the two filters is OR.
The article below is about Creating User Profile Synchronization Exclusion Filters using the userAccountControl attribute.
http://www.harbar.net/archive/2011/02/22/323.aspx
Best regards,
Sara Fan