Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

google cloud to on premise error The security context token is expired or is not valid #43

Open
menasheAtias opened this issue May 8, 2024 · 0 comments

Comments

@menasheAtias
Copy link

Hi
We have a service that creates a record in the CRM, from the development machine running through SWAGGER it works great without errors, we uploaded it to google cloud run from there the service goes to CRM which is inside a virtual machine in the cloud, we get the following error when creating record
ExceptionHandlingMiddleware default Error ex:System.ServiceModel.FaultException: The security context token is expired or is not valid. The message was not processed.
at Data8.PowerPlatform.Dataverse.Client.ADAuthClient.Execute(OrganizationRequest request)
at Data8.PowerPlatform.Dataverse.Client.ADAuthClient.Create(Entity entity)
at Data8.PowerPlatform.Dataverse.Client.OnPremiseClient.Create(Entity entity)
, sometimes it works without error ,but most of the times it doesn't works and returns the error
We saw that it could be a time zone problem so we compared the time zone in the service to the CRM but It didn't help, do you have any idea what the solution could be?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant