I was perfectly working with pnp-powershell then I planned to work with SP online management shell. I came across this error :

enter image description here

I have already tried installing the SPOL Management Shell. It says that package already exist. SO the problem is in importing this module only. Help appreciated!

  • 1
    open your powershell and type set-executionpolicy unrestricted and then close/open the powershell again. It should work Jun 23, 2018 at 10:59
  • Thanks Gautam... so the problem was with ps execution policy ...I actually set the execution policy as remote signed then it worked.
    – DvG
    Jun 23, 2018 at 13:28


Your Answer

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

Browse other questions tagged or ask your own question.