-
Notifications
You must be signed in to change notification settings - Fork 65
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
Export Failure - Execution timeout #483
Comments
Hi seanmcne, I am getting the warning as below after creating the connection: When import/publish cmdlet runs, many a times i am not getting an response, can you help? Write-Verbose "Creating Test Crm Connection" -Verbose Write-Verbose "Importing Solution to $TargetfriendlyName" -Verbose |
Try this, the module will update to the right TLS version now also you can set the connection timeout on connection to take care of it (otherwise you have to connect, set the timeout, and then connect again). You can also import using an async job to upload it as a system job and poll for success or failure. Hope that helps!
|
We are using Powershell and github actions to export a solution:
Github Action
Connection
$crm = Connect-CrmOnline -ClientSecret $clientSecret -OAuthClientId $clientId -ServerUrl $url
When executing the following we are getting intermittent failures of the following:
Export-CrmSolution -SolutionName $SolutionName -conn $CrmSourceConnection -SolutionFilePath $ExportPath -SolutionZipFileName $fileName -Managed -Debug -Verbose
The error returned:
I've increased the timeout but I suspect that the failure is actually occurring before then. The intermittent nature is the confusing part.
Is this the most up to date end-point?
https://xxx.crm6.dynamics.com/XRMServices/2011/Organization.svc/web?SDKClientVersion=9.0.45.2156
I can confirm that the exported files are showing as downloaded but its not being caught by command:
The text was updated successfully, but these errors were encountered: