-
Notifications
You must be signed in to change notification settings - Fork 5
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
Set-XrmClientTimeout not working #6
Comments
Update: I fixed it by adding this line before calling New-XrmClient:
Instead of using Set-XrmClientTimeout |
Hello @Nicer82 Thanks for your contribution! This is correct, Set-XrmTimeout was supported with WS-Trust auth type, now with OAuth it is deprecated. Regarding your issue, I'm surprised about the update operation duration. I notice that you are coding with .NET style instead of Powershell style.
|
Yes, I know, I like the .net style coding more 😄. |
I am trying to change the default timeout of 00:02:00 to 00:10:00, however when I use Set-XrmClientTimeout, this doesn't seem to affect the timeout. Anyone knows how to solve this?
The above script gives me the output:
09/20/2022 15:35:05: start refresh
09/20/2022 15:37:05: end refresh
Exception calling "Update" with "1" argument(s): "The underlying connection was closed: A connection that was expected to be kept alive was closed by the server."
The text was updated successfully, but these errors were encountered: