Open gzaika opened 6 years ago
@gzaika a few additional questions:
(1) Are you seeing this issue outside of automation? I am unable to reproduce the above error in a normal PowerShell session
(2) Does it fail with the same error if you don't provide the -Status
parameter?
(3) Would you mind turning on the debug stream by setting $DebugPreference="Continue"
and returning the corresponding output?
No, I can reproduce it only in Automation within Powershell workflow
Without -Status it works fine
@vrdmr Can you take a look at this issue?
Triaged: Needs more investigation, potentially in issue at the sandbox layer.
Description
Script/Steps for Reproduction
1) created Runbook of type workflow in Azure Automation 2) added command
It returns error
Module Version
Version - 5.2.0
Environment Data
Debug Output
Here is the error output