Error: Exception has been thrown by the target of an invocation

Problem: In HCObjSync logs getting error “Exception has been thrown by the target of an invocation.” as shown in the below screenshot:


Reason: This error occurs when the user password does not satisfy the password Complexity requirement configured on Cloud DC.

Resolution:  Change the user password on Local DC according to the password complexity requirement which is configured on Cloud AD and then run Sync service.