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
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) ?
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.
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.
You need to reduce the time difference to less than 5 mins, example 2 mins.
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?
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
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156