The ProjectWise User Synchronization Service (USS) is used to synchronize ProjectWise user and group accounts with Windows user and group accounts. This allows users to log into ProjectWise using the same username and password that they use to log in to Windows.
On the USS server, go to services and find ProjectWise User Synchronization Service. If its not running, then start it, if it is running, restart it. Note that the 'logon user' must be a domain user and be able to enumerate users on each domain. Make sure this user has 'log on as a service' rights on the computer running the USS.
If the problem is still occurring after restarting the service, open ProjectWise Administrator.
If none of the above resolves the problem check the logs by doing the following:
What if only one user has a problem or several random users are not being synchronized?
In the usersync.log (description just above) do a search for “Unique constraint violated” You will likely find a line that looks similar to this:
User group issue2014-02-19 15:22:03,761 ERROR [0x00000000] pwise.usersync - Failed to create user group 'MyDomain\MyGroup[MyDatasource://MyDomain.com/DC=us/OU=company/OU=MySection/CN=MyGroup] [S-1-2-12-123456-123456789-123456789-12345]' in the datasource 'PROJECTWISE.mydomain.com:PWdatasource'. Unique constraint violatedUser issue2014-02-19 15:22:04,856 ERROR [0x00000000] pwise.usersync - Failed to create user 'MyDomain\MyUser [MyDatasource://MyDomain.com/DC=us/OU=company/OU=MySection/OU=MyGroup] /CN=MyUser] [AD:S-1-2-12-123456-123456789-123456789-12345]' in the datasource 'PROJECTWISE.mydomain.com:PWdatasource'. Unique constraint violated
Typically there is a lost SID or the user was created in ProjectWise with a SID that no longer matches the SID in Active Directory.
If you have several users or groups you can highlight them all, go to properties and make the changes as directed above.
Switching the user to Windows and then back to Windows - synchronized should flush and recreate the user SID.