Forum Discussion
FineSL60
Apr 08, 2020Copper Contributor
Failed downloading Az and other modules for powershell
Hello, I am attempting to install the Az module for powershell. I haven't had issues in the past but now I get errors when trying to do so and I have tried many ways to do this. It seems like...
- Apr 10, 2020
Hi, FineSL60, esunilkumare
I received the same error message but I managed to solve it by swicthcing to TLS 1.2:
PS C:\> [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
Then:
Regards,
esunilkumare
Apr 10, 2020Copper Contributor
Team,
I am also facing the same issue. I have admin privileges and running PS as admin.
PFB the error scenario.
Tried to access the link https://www.powershellgallery.com/api/v2/package/Az.Accounts/1.7.4 via IE on the machine and the package az.accounts.1.7.4.nupkg is getting downloaded without any issue. Hence it seems to be an issue with PS only, as PC can access the link.
Any suggestions would be deeply appreciated.
--
Thanks
Sunil
Chalaneru
Apr 10, 2020Brass Contributor
Hi, FineSL60, esunilkumare
I received the same error message but I managed to solve it by swicthcing to TLS 1.2:
PS C:\> [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
Then:
Regards,
- Adam.Cloud CloudApr 15, 2020Copper Contributor
- CyberGieneApr 13, 2020Copper Contributor
Chalaneru saved me a whole bunch of time not having to dig through event logs to figure this out .. thank you so much
- esunilkumareApr 10, 2020Copper Contributor
Chalaneru Thanks for the quick help. This helped me resolve the issue.