Recently, we got our Non-Production licenses replaced with Test-Unattended licenses and applied to our Orchestrator Standalone on Azure. In order to support these licenses, we need to apply the Test licenses to machines by enabling -testAutomationFeatureEnabled via Powershell Script.
Upon running the following PS script in Windows ISE, we’re getting the error towards the end after 20 minutes of the script running.
.\Publish-Orchestrator.ps1 `
-action “Update” `
-unattended `
-package “.\UiPath.Orchestrator.Web.zip” `
-stopApplicationBeforePublish `
-azureSubscriptionId “00000000-00000-000-0000-000000000” `
-azureAccountTenantId “00000000-00000-000-0000-000000000” `
-azureAccountApplicationId “00000000-00000-000-0000-000000000” `
-azureAccountPassword “---------------------” `
-resourceGroupName “-----------------” `
-appServiceName “------------------” `
-testAutomationFeatureEnabled `
-verbose
(ERROR)
The script failed due to call depth overflow.
+ CategoryInfo : InvalidOperation: (0:Int32) , ParentContainsErrorRecordException
+ FullyQualifiedErrorId : CallDepthOverflow
Has anyone seen this issue before or know the solution? We are using Orchestrator 2022.4.1 (hosting in Azure)