Post Visual Studio 2017 Installation, SharePoint Online Management Shell is not working. While starting Shell, i am getting the error below error. Earlier it was working fine. Anyone got the same error ? VS2017 is working fine and i do not see any issues with it so far.

enter image description here

1 Answer 1


After trying lot of options, nothing worked. Including Re-installing the SPOL and Visual Studio.

Finally, found the solution. The Execution policy is being reset after installing VS2017. Overiding the Execution policy to remote signed resolved the issue.

Set-ExecutionPolicy RemoteSigned

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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