The specified module 'Microsoft.Online.SharePoint.PowerShell'
was not loaded
This is a Common Issue Every SharePoint
administrator face once in a while executing the PowerShell scripts by
Management shell.
Issue: When the SharePoint Online Management Shell Opens
it immediately displays the following error message prior to 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.
solution: Please follow the steps
below to resolve the issue.
- Make sure you run the SharePoint Online Management shell as an Administrator.Or
- remove and re-install both the x86 and x64 management shells