19 January, 2016

The specified module 'Microsoft.Online.SharePoint.PowerShell' was not loaded

Problem description:
When I open the SharePoint Online Management Shell it immediately displays the following error before I can type anything.

Error message:
Import-Module: The specified module 'Microsoft.Online.SharePoint.PowerShell' was not loaded because no valid module file was found in any module directory.

Attributes:
·         Windows 7 machine
·         Office 365 environment
·         Windows Management Framework 3.0 
·         .Net 4.0

Resolution:
It’s quite easy as changing the account, yes you heard it right J

Try one of the following steps and your issue will be resolved!
Either
1.    Make sure you run the SharePoint Online Management shell as an Administrator.
Or
2.    Reinstalled and removed both the x86 and x64 management shells.

That’s it! Keep me posted in case of any further issues, Thank you…

No comments:

Post a Comment

Your feedback is always appreciated. I will try to reply to your queries as soon as possible- Amol Ghuge