The job FILE.BACKUP.WINDOWS is failing with the error message in the report log below when executed on Windows Server 2019. The issue does not occur on Windows Server 2012.
Report log:
====================================================================
DEBUG: 109+ >>>> [void] $consoleHost.GetType().GetProperty( "IsStandardOutputRedirected",
$bindingFlags).GetValue( $consoleHost, @() )
DEBUG: 66+ >>>> Write ""
DEBUG: ! CALL function '' (defined in file
'C:\Automic\Agents\windows\temp\JADOGRFB.TXT.ps1')
DEBUG: 67+ >>>> Write $("Exception found: " + $_.Exception.GetType().FullName);
DEBUG: 67+ Write $( >>>> "Exception found: " + $_.Exception.GetType().FullName);
Exception found: System.Management.Automation.RuntimeException
DEBUG: 68+ >>>> Write $("Exception text: " + $_.Exception.Message);
DEBUG: 68+ Write $( >>>> "Exception text: " + $_.Exception.Message);
Exception text: You cannot call a method on a null-valued expression.
DEBUG: 69+ >>>> Write "
====================================================================
Release : 12.x, 21.x
This issue was caused by different Powershell versions on Windows Server 2012 and Windows Server 2019.
The issue will be fixed from AWA v21.0.5.