web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

An unsecured or incorrectly secured fault was received from the other party

(0) ShareShare
ReportReport
Posted on by

0 down vote favorite

I have an API project created in AP.Net MVC and is hosted in Azure. This portal is using a CRM environment as back end. When we connect our portal to our azure server environment (from some particular device and location in same time zone , but some hours difference because of DST) ,we get the below error:

"An unsecured or incorrectly secured fault was received from the other party. See the inner FaultException for the fault code and detail. Innerexception: System.ServiceModel.FaultException: At least one security token in the message could not be validated."

Any help?

*This post is locked for comments

I have the same question (0)
  • Nausher Sayeed Profile Picture
    522 on at

    It is usually happen if the client and server time are 5 min or more different.

    And also might be because of the incorrect timezone or if same timezone but different 5 min. Check your timezone or if same timezone then time difference

  • Community Member Profile Picture
    on at

    Hello Nausher , Thanks for the response.There is no error occurs while we request from other timezone/s. The issue coming while the request location is in the same timezone, but probably 5 min difference in DST.I need to handle this particular scenario. May I know ,is there any permanent solution for this?

  • Nausher Sayeed Profile Picture
    522 on at

    You need to reduce the time difference to  less than 5 mins, example 2 mins.

  • Community Member Profile Picture
    on at

    But request might comes from a device which is in 5 min different time right? So how can we reduce/ restrict the time difference. My problem is can we handle a request coming from 5 min different time zone.

  • Suggested answer
    Nausher Sayeed Profile Picture
    522 on at

    If i am not wrong  your application hosted in Azure and that MVC application trying to connect CRM. If this the scenario then reduce Azure VM time diffrence.

  • Community Member Profile Picture
    on at

    Actually I'm new to Azure . As you mentioned , my application hosted in Azure and my MVC application trying to connect CRM. And may I know how to reduce Azure VM time difference via Azure portal settings (App service settings) ?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
JS-09031509-0 Profile Picture

JS-09031509-0 3

#2
AS-17030037-0 Profile Picture

AS-17030037-0 2

#2
Mark Eckert Profile Picture

Mark Eckert 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans