SharePoint 2010 User Profile Sync - Remove Disabled Users
        Posted  
        
            by 
                ScaleOvenStove
            
        on Server Fault
        
        See other posts from Server Fault
        
            or by ScaleOvenStove
        
        
        
        Published on 2011-01-26T01:22:28Z
        Indexed on 
            2011/02/11
            23:27 UTC
        
        
        Read the original article
        Hit count: 342
        
I have SharePoint 2010 set up to sync active directory users and it is working great. I am getting disabled users in the sync though. I have tried what all the blogs say, filter on
userAccountControl bit on equals 2
but to no avail, the disabled users are still syncing. I am at a loss on where to look next. My last resort would be to create a ou/folder in AD and move disabled users there and remove that from the sync connector, but I don't really want to go there.
Any ideas?
© Server Fault or respective owner