I have a number of user profiles that appear in my "Profiles Missing From Import" screens in CA (for operational reasons, we have disabled the Profile cleanup service, and are now investigating our own scripted replacement).
When I attempt to identify those same profiles using switch "
-GetNonImportedObjects" in PowerShell, I get a far shorter list. This is clearly wrong - I can verify accounts that have been disabled in AD which still have an outstanding user profile in SharePoint, and they are not appearing in these PowerShell results.
Does anyone know why this might be? Or how I can identify and remove these accounts using PowerShell?