CDA 12.2 update SyncPermissions.ps1 runs into timeout (after 60s)

Document ID : KB000124327
Last Modified Date : 25/01/2019
Show Technical Document Details
When running the SyncPermissions.ps1 during the update from ARA 12.0.3 to CDA 12.2.1, it always ran into timeout-errors, without printing any useful information (besides, that it ran into a timeout). 
PS C:\Automic\ARA\ARA_Utilities\ApplicationContentMigrator> .\SyncPermission.ps1 -con http://localhost/ara -usr 5200/ARA2/UC.ARA -pw ***** 
Log directory: 
Create Request 
Request URI: http://localhost/ara/api/data/v1/folders/sync 
User : 5200/ARA2/UC.ARA 
Body : {"principals": []} 
Invoke-WebRequest : The operation has timed out 
At C:\Automic\ARA\ARA_Utilities\ApplicationContentMigrator\SyncPermission.ps1:83 char:21 
+ $responseData = Invoke-WebRequest -Uri $url -Method Post -Headers $headers - ... 
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
+ CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebException 
+ FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand
Release.Manager 10.0.0,Release.Manager 9.0.1
A problem has been fixed where Sync Permission tool runs into timeout in the large system by introducing a new parameter -TimeoutSec (tos) and using default timeout value 7200 seconds.
The issue was found and fixed with Release.Manager 9.0.2 in Release Manager. The Package is available for download at the Automic-Support-Zone ( Hotfix-Description: Fix the object null reference exception when importing execution. A problem has been fixed where the filter does not handle the null value of the field.

Release.Manager 10.0.0, Release.Manager 9.0.2