“An error occurred when verifying security for the message” in Dynamics 365 CE


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 writing this blog post.

Correcting it fixed the issue.

Hope it helps..

Advertisements

Author: Nishant Rana

I love working in and sharing everything about Microsoft.NET technology !

2 thoughts on ““An error occurred when verifying security for the message” in Dynamics 365 CE”

Please share your thoughts

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.