Announcements
No record found.
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
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
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?
You need to reduce the time difference to less than 5 mins, example 2 mins.
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.
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.
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.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
JS-09031509-0 3
AS-17030037-0 2
Mark Eckert 2