Is there a timeout for the Orchestrator to accept return values from the Powershell App?
I’m trying to automate looking for unique UPNs across multiple AAD tenants (to simplify future migration) and collecting all the active users takes several seconds. When I try running the exact same command using Invoke-Command I get a response back in 25-30 seconds typically but the Workflow Automator never gets anything
Testing using a simple sleep+date command shows that 15 seconds usually works, 20 seconds only returns on rare occasions and 25 seconds never works.
Sleep -seconds 20
Get-Date
Am I missing something, or is this a limitation where it won’t collect the return value/status when the call takes longer.
I’ve been able to validate that the actual process completes on the remote machine through start/stop-transcript, so it isn’t a failure to run, simply to return the information to Fresh.