Error when attempting to invoke powershell

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)

Hi @Egleason,
I see that you are passing your password to String variable. I’m not quite sure but shouldn’t this be a Secure String?