aaronparker / vcredist

Lifecycle management for the Microsoft Visual C++ Redistributables
https://vcredist.com
MIT License
132 stars 17 forks source link

Error uploading to intune for unsupported version 2008 #165

Open aidbish opened 6 months ago

aidbish commented 6 months ago

When trying to upload a unsupported version "2008" to Intune it errors out, no error with 2010

Command:

$VcList = Get-VcList -Export Unsupported |Where-Object { $_.Release -in "2008"} | Save-VcRedist -Path C:\Temp\VcRedist
Import-VcIntuneApplication -VcList $VcList

Error: WARNING: This list includes unsupported Visual C++ Redistributables. Invoke-WebRequest : The request was aborted: Could not create SSL/TLS secure channel. At C:\Program Files\WindowsPowerShell\Modules\VcRedist\4.1.496\Public\Save-VcRedist.ps1:124 char:25

ModuleType Version Name


Script 4.1.496 VcRedist

PSVersion 5.1.22621.2506

OS Win11

aidbish commented 6 months ago

Further to above, it seems limited to x64 version as x86 seems to work for some but not all additional output

VERBOSE: PUT with -1-byte payload WARNING: Failed to upload chunk to Azure Storage blob. Error message: The remote server returned an error: (403) Forbidden. VERBOSE: PUT with -1-byte payload WARNING: Failed to finalize Azure Storage blob upload. Error message: The remote server returned an error: (400) Bad Request.

WARNING: Intune service request for operation 'CommitFile' failed WARNING: Failed to create Win32 app, commit file request operation failed