Users unable to login due to windows ErrorCode=1787
Symptom
Active directory user will be unable to login and logs will report wrong passwords
Connector logs on the affected device should have the following error:
ErrorCode = 1787, Error = The security database on the server does not have a computer account for this workstation trust relationship
Environment
N/A Identity Connector;App Access Service;Connector Management
Cause
This is due to the Domain Trust relationship between the connector server and the Domain being broke or damaged
Resolution
To resolve this either repair the trust or rejoin the connector server to the domain.
To rejoin a system to the domain you will want a local administrator on the machine and a domain administrator. This is done through the Server Manager menu you will need to go to the work group settings and remove the current domain and re-add it.
For more detailed instructions you can follow the Microsoft documentation for this:
https://learn.microsoft.com/en-us/windows-server/identity/ad-ds/manage/join-computer-to-domain?tabs=cmd&pivots=windows-server-2025