While trying to connect to Dynamics 365 CE through a console application we were getting the below error.
“An unsecured or incorrectly secured fault was received from the other party”
“An error occurred when verifying security for the message”
Changing the version of the assemblies referenced, changing the target version of the framework etc. didn’t help.
Eventually we realized that the Date and time was incorrect in the machine (was one day ahead). It is 27th September while…