Hi everyone!
I have a .NET 9 web service which is using the Data8.PowerPlatform.Dataverse.Client and its OnPremiseClient to communicate with CRM Dynamics 365 OnPremise.
When using it, I get a floating error: the security context token is expired or is not valid. The message was not processed.
Moreover, the error occurs much faster than the timeout set in the client property expires.
For example - Timeout property is set to 20 minutes but error i get at 3-5 seconds or at 30-50 seconds.
Can you tell me what the problem might be?
I read that it might be timeout error, but I don't think that's the problem.