I have PowerShell 5.1, AZ (1.1.2 and 1.1.4 of Az.AnalysisServices) and AzureRM modules installed on my computer.
I'm running Install-Module AzSK -Scope CurrentUser -AllowClobber -forcecommand but it completes with error (see below)
Running the command with -SkipPublisherCheck (as advised in the error message) doesn't change anything.
PackageManagement\Install-Package : The version '1.1.2' of the module 'Az.AnalysisServices' being installed is not
catalog signed. Ensure that the version '1.1.2' of the module 'Az.AnalysisServices' has the catalog file
'Az.AnalysisServices.cat' and signed with the same publisher 'CN=Microsoft Root Certificate Authority 2011,
O=Microsoft Corporation, L=Redmond, S=Washington, C=US' as the previously-installed module '1.1.2' with version
'1.1.4' under the directory 'C:\Program Files\WindowsPowerShell\Modules\Az.AnalysisServices\1.1.4'. If you still want
to install or update, use -SkipPublisherCheck parameter.
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:1809 char:21
Title
Cannot install AzSK PS Module
Description
I have PowerShell 5.1, AZ (1.1.2 and 1.1.4 of Az.AnalysisServices) and AzureRM modules installed on my computer. I'm running
Install-Module AzSK -Scope CurrentUser -AllowClobber -force
command but it completes with error (see below) Running the command with-SkipPublisherCheck
(as advised in the error message) doesn't change anything.Steps to reproduce
Following the installation guide (https://azsk.azurewebsites.net/00a-Setup/Readme.html) open powershell (no administrator rights) and run:
Expected behavior
AzSK should be installed
Actual behavior
PackageManagement\Install-Package : The version '1.1.2' of the module 'Az.AnalysisServices' being installed is not catalog signed. Ensure that the version '1.1.2' of the module 'Az.AnalysisServices' has the catalog file 'Az.AnalysisServices.cat' and signed with the same publisher 'CN=Microsoft Root Certificate Authority 2011, O=Microsoft Corporation, L=Redmond, S=Washington, C=US' as the previously-installed module '1.1.2' with version '1.1.4' under the directory 'C:\Program Files\WindowsPowerShell\Modules\Az.AnalysisServices\1.1.4'. If you still want to install or update, use -SkipPublisherCheck parameter. At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:1809 char:21
Help? :)