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 365 | Integration, Dataverse...
Unanswered

Error when using OnPremiseClient

(0) ShareShare
ReportReport
Posted on by 6
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.
Categories:
I have the same question (0)

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 April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
11manish Profile Picture

11manish 120

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 58 Super User 2026 Season 1

#3
CP04-islander Profile Picture

CP04-islander 57

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans