# Getting error while trying to run Install-Module -Name az -Force

**URL:** <https://forums.powershell.org/t/getting-error-while-trying-to-run-install-module-name-az-force/14240>\
**Category:** PowerShell Help\
**Created:** [April 23, 2020, 8:03pm UTC](https://forums.powershell.org/t/getting-error-while-trying-to-run-install-module-name-az-force/14240 "2020-04-23T20:03:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![palchak](https://avatars.discourse-cdn.com/v4/letter/p/a88e4f/32.png) [@palchak](https://forums.powershell.org/u/palchak)\
**Post date:** [April 23, 2020, 8:03pm UTC](https://forums.powershell.org/t/getting-error-while-trying-to-run-install-module-name-az-force/14240/1 "2020-04-23T20:03:51Z")

</div>

I am trying to upgrade my Az powershell module from 3.1 to 3.8.0 and i get the error as shown below. I tried the same from VS Code, still the same. Can anyone help me to fix this please

PS C:\Users\palchakraborty\> install-module -Name az -force  
Install-Package: C:\Users\palchakraborty\Documents\PowerShell\Modules\PowerShellGet\2.2.4.1\PSModule.psm1:9709  
Line |  
9709 | … talledPackages = PackageManagement\Install-Package @PSBoundParameters  
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  
| The module ‘Az.Accounts’ cannot be installed or updated because the authenticode signature of the file ‘Az.Accounts.psd1’ is not valid.

PS C:\Users\palchakraborty\>

---

<div class="post-metadata">

**Author:** ![krzydoug](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/krzydoug/32/1008_2.png) [@krzydoug](https://forums.powershell.org/u/krzydoug)\
**Post date:** [April 28, 2020, 11:14pm UTC](https://forums.powershell.org/t/getting-error-while-trying-to-run-install-module-name-az-force/14240/2 "2020-04-28T23:14:04Z")

</div>

Are you able to update other modules?

---

<div class="post-metadata">

**Author:** ![dotnVo](https://avatars.discourse-cdn.com/v4/letter/d/4af34b/32.png) [@dotnVo](https://forums.powershell.org/u/dotnVo)\
**Post date:** [May 16, 2024, 8:29pm UTC](https://forums.powershell.org/t/getting-error-while-trying-to-run-install-module-name-az-force/14240/3 "2024-05-16T20:29:47Z")

</div>

Closed on May 16, 2024, 8:29pm UTC


