Unable to download from URI – Install-Module

Well I am back with quick post, I just build up a new machine and trying to install SharePointPnPPowerShellOnline. I came across the series of errors, the first bit was “Unable to download from URL” and later “Unable to download the list of available providers. Check your internet connection”.

This new machine got the internet working, so i googled and after couple of blogs, i found a detailed post.

I won’t go in to the details , but the meat of the Issue is the “PowerShell 5.1 defaults to only enabling SSL3 and TLS 1.0 for secure HTTP connections”

So i ran the following command and i am able get through with my commands.

[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12

Hopefully it would resolve your issue as well.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s