I am getting “PackageManagement\Install-Package : Access to the cloud file is denied” errors while installing Az module in power shell

Question:

I am trying to install Az module on windows power shell by “Install-Module -Name Az -Scope CurrentUser -Force -Allowclobber command”. But i am getting below error.

I searched and found some issue is with onedrive sync activated in my system. Can you please help me on this to install Az module in powershell.

Answer:

I think the reason is PowerShell Gallery is blocked by the firewall. Anyway, try installing it using MSI. It worked for me.

Source:

I am getting “PackageManagement\Install-Package : Access to the cloud file is denied” errors while installing Az module in power shell by licensed under CC BY-SA | With most appropriate answer!

Leave a Reply