I am trying to run a powershell script and continue to get an error " Invoke Power Shell: Unable to cast object of type ‘Microsoft.ActiveDirectory.Management.ADAccount’ to type ‘System.Management.Automation.PSObject’."
The script is acutally doing what is requested but the throws and error and then kills the workflow. I have included a copy of the test workflow. New folder.zip (2.1 KB)