Prerequisites
Steps to reproduce
Run the command
Set-PSRepository PSGallery -InstallationPolicy Trusted
Install-Module -Name MicrosoftPowerBIMgmt -Scope CurrentUser -Force
Expected behavior
Module installed successfully
Actual behavior
PackageManagement\Install-Package : The module 'MicrosoftPowerBIMgmt.Profile' cannot be installed or updated because
the authenticode signature of the file 'MicrosoftPowerBIMgmt.Profile.cat' is not valid.
Error details
PackageManagement\Install-Package : The module 'MicrosoftPowerBIMgmt.Profile' cannot be installed or updated because
the authenticode signature of the file 'MicrosoftPowerBIMgmt.Profile.cat' is not valid.
Environment data
Name Value
---- -----
PSVersion 5.1.17763.8385
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.17763.8385
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
Version
Latest Version
Visuals
Install-Module -Name MicrosoftPowerBIMgmt -Scope CurrentUser -Force
PackageManagement\Install-Package : The module 'MicrosoftPowerBIMgmt.Profile' cannot be installed or updated because
the authenticode signature of the file 'MicrosoftPowerBIMgmt.Profile.cat' is not valid.
Workaround:
Install-Module -Name MicrosoftPowerBIMgmt -Scope CurrentUser -Force -SkipPublisherCheck