I created a PowerShell Script in the ISE Editor to Add Sharepoint list items. When I run the script in the ISE the items were added correctly and the workflow (Workflow runs for New Items) is running.

But when I run the script in the PowerShell the Workflow isnt running .....


Are you running the script as admin, with system account? SharePoint prevents the workflows being run from system account.

|improve this answer|||||
  • I run the script with the farm admin.... – user53651 Jul 6 '16 at 9:48
  • That's the reason. You should run the script by an user which is not in the Farm Administrators group. – Emiliano Poggi Jul 6 '16 at 12:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.