Open faherne opened 3 years ago
We have to make the timeout configurable or to read it from PowerCLI settings.
Is there anything I can do to help, or is this something that needs to be configured in the SDK?
Is there anything I can do to help, or is this something that needs to be configured in the SDK?
The timeout is hardcoded at the moment and cannot be changed on the fly from PowerShell. https://github.com/vmware/PowerCLI-Example-Scripts/blob/master/Modules/VMware.vSphere.SsoAdmin/src/VMware.vSphere.SsoAdmin.Client/VMware.vSphere.SsoAdminClient/SsoAdminClient.cs#L28
As a quick fix, I can increase the hardcoded value to 5 minutes, and later to make it either configurable or read it from PowerCLI settings
Published version 1.3.5 on PSGallery with a default timeout of 5 minutes. I believe that solves the issue for now.
Command: Get-SsoPersonUser -Name "AD-Service-Account-01" -Domain "MyCompany.com"
Error Message: Get-SsoPersonUser: One or more errors occurred. (The request channel timed out attempting to send after 00:00:30. Increase the timeout value passed to the call to request or increase the SendTimeout value on the binding. The time allotted to this operation may have been a portion of a longer timeout.)