Install-Module -Name PnP.PowerShell leads to Unable to resolve package source 'https://www.powershellgallery.com/api/v2'. #828
Unanswered
dparenteau
asked this question in
Q&A
Replies: 1 comment
-
Got it finally! [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have issue just trying to install the module. I don't know why I get this but worst, spent lot of hours searching how to resolve.
Can someone help me?
WARNING: Unable to resolve package source 'https://www.powershellgallery.com/api/v2'.
PackageManagement\Install-Package : No match was found for the specified search criteria and module name
'PnP.PowerShell'. Try Get-PSRepository to see all available registered module repositories.
Get-PSRepository:
Name InstallationPolicy SourceLocation
PSGallery Trusted https://www.powershellgallery.com/api/v2
Beta Was this translation helpful? Give feedback.
All reactions