Fix Digitally Signed Error in SharePoint 2013


Now a day’s a developer works going very easy with office 365 features with visual studio. But you may have a chance to get most unfrequented issues or interruption issues while deploying or executing scripts. It happened with visual studio or in SharePoint online management PowerShell.

Why it happens?

Due to security policies and limitations, an Execution policy not accepts your scripts and returns an error ‘The file is not digitally signed’.


How to fix then?

Run it before execute your script.


Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass

From next time onwards, you won’t get any errors and message blockers.