You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Install-VisualStudio.ps1 script fails with error Signature thumbprint do not match expected. and breaks the build.
After a little debugging I've found out that the visualStudio.signature value in the toolset-2022.json file does not match the one tested on the downloaded bootstrapper.
I've composed the URL from the variable found in VisualStudioHelpers.ps1 file ( $bootstrapperUrl = "https://aka.ms/vs/${Version}/${Channel}/vs_${Edition}.exe" ) downloaded the bootstrapper, run a check on the Thumbrint and got the following result which is different from the value in toolset-2022.json file:.
==> azure-arm.image: Provisioning with powershell script: /home/vsts/work/1/s/Packer/runner-images/images/windows/scripts/build/Install-VisualStudio.ps1
azure-arm.image: Downloading Bootstrapper ...
azure-arm.image: Downloading package from https://aka.ms/vs/17/release/vs_Enterprise.exe to C:\Users\INSTAL~1\AppData\Local\Temp\vs_Enterprise.exe...
azure-arm.image: Package downloaded in 0.5 seconds
azure-arm.image: Signature thumbprint do not match expected.
azure-arm.image: At C:\Program Files\WindowsPowerShell\Modules\ImageHelpers\InstallHelpers.ps1:972 char:9
azure-arm.image: + throw "Signature thumbprint do not match expected."
azure-arm.image: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
azure-arm.image: + CategoryInfo : OperationStopped: (Signature thumb...match expected.:String) [], RuntimeException
azure-arm.image: + FullyQualifiedErrorId : Signature thumbprint do not match expected.
azure-arm.image:
==> azure-arm.image: Provisioning step had errors: Running the cleanup provisioner, if present...
More details:
Platforms affected
Azure DevOps
GitHub Actions - Standard Runners
GitHub Actions - Larger Runners
Runner images affected
Ubuntu 20.04
Ubuntu 22.04
Ubuntu 24.04
macOS 12
macOS 13
macOS 13 Arm64
macOS 14
macOS 14 Arm64
macOS 15
macOS 15 Arm64
Windows Server 2019
Windows Server 2022
Image version and build link
N/A
Is it regression?
No
Expected behavior
Install-VisualStudio.ps1 script should run without errors
Actual behavior
Install-VisualStudio.ps1 script fails with error "Signature thumbprint do not match expected."
Repro steps
run Install-VisualStudio.ps1 script
The text was updated successfully, but these errors were encountered:
Description
Description
Install-VisualStudio.ps1
script fails with errorSignature thumbprint do not match expected.
and breaks the build.After a little debugging I've found out that the visualStudio.signature value in the
toolset-2022.json
file does not match the one tested on the downloaded bootstrapper.toolset-2022.json
file :I've composed the URL from the variable found in
VisualStudioHelpers.ps1
file ($bootstrapperUrl = "https://aka.ms/vs/${Version}/${Channel}/vs_${Edition}.exe"
) downloaded the bootstrapper, run a check on the Thumbrint and got the following result which is different from the value intoolset-2022.json
file:.Build error log :
More details:
Platforms affected
Runner images affected
Image version and build link
N/A
Is it regression?
No
Expected behavior
Install-VisualStudio.ps1
script should run without errorsActual behavior
Install-VisualStudio.ps1
script fails with error "Signature thumbprint do not match expected."Repro steps
run
Install-VisualStudio.ps1
scriptThe text was updated successfully, but these errors were encountered: