Microsoft Azure / SharePoint Online – Error when installing PowerShell module: PowerShell 3.0 is required

Recently, I ran into an interesting error trying to install SharePoint Online PowerShell Module or Microsoft Azure PowerShell modules.

The setup program said “PowerShell 3.0 is required”, while off course this has been already enabled on my Windows 8 or Windows Server 2012 R2 installation as all other online services PowerShell modules have been installed, including the Online Sign In Assistant which also require PowerShell 3.0


I also add another one, a network error occurred when reading the package. This one occurred less often.

So, I dug a little, searching internet with no luck, trying to reinstall the OS, no luck either… and then I thought to look around the registry.

And I found:

Just delete the 2 following keys:

  • HKEY_CURRENT_USER\Software\Microsoft\Installer\Products\00005159B51190400100000000F01FEC
  • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{95150000-115B-0409-1000-0000000FF1CE}

Et voilà, I have been able to successfully install the PowerShell modules.

Leave a Comment

Your email address will not be published. Required fields are marked *

The reCAPTCHA verification period has expired. Please reload the page.