Execute Powershell script: "The script signature is not valid!"

Jul 4, 2012 at 12:49 PM

I've created a test workflow which runs "echo test > C:\Test.txt". All other variables in SP Designer are left blank. However, when I run the workflow, I get the error,"The script signature is not valid!"

I may have misunderstood something, but the signature is optional, correct? Am I doing something wrong?

Thanks for your help.

Jul 9, 2012 at 4:30 AM

By default, for security reasons, you have the sign the scripts. But you can disable the signing, see  documentation.

Jul 9, 2012 at 9:13 AM

I have the ExeuctionPolicy set to Unrestricted (Set-ExecutionPolicy -ExecutionPolicy Unrestricted) but I still get this error.

Jul 22, 2014 at 5:19 PM
Ran this on my Test farm and it corrected the issue.



This did recycle the App Pools.