Hot answers tagged user-profile-service
The “SharePoint Active Directory Import” does not mark the profile to be deleted either with incremental or Full Import when they are disabled and only way to remove the obsolete users is as mentioned here Run Full Import Post that run Use SharePoint Management Shell to Run following $upa = Get-SPServiceApplication -id Set-SPProfileServiceApplication ...
If it's in a database why not use the BCS to create an External Content Type? Then create a secondary import connection in the User Profile Service and have the properties updated when the Synchronization Timer Job runs? If not then you could just run it as a Windows scheduled job. Heck, you could even ditch the C# for PowerShell.
Only top voted, non community-wiki answers of a minimum length are eligible