WingetIntune icon indicating copy to clipboard operation
WingetIntune copied to clipboard

[Bug]: PowerShell Deploy fails with "Value cannot be null. (Parameter 's')"

Open holnburger opened this issue 8 months ago • 9 comments

CommandLet

Deploy-WtWin32App

Full command

Deploy-WtWin32App -PackageFolder "/Users/josef/Intune/Zoom.Zoom/6.0.39959" -Username [email protected]

Module version

0.8.8

What happened?

Some deploys fail, apparently because there is a parameter missing in the app.json.

It happened with the following packages:

Zoom.Zoom KeePassXCTeam.KeePassXC Google.Chrome

I used a pipe deploy: New-WtWingetPackage -PackageId "Zoom.Zoom" -PackageFolder "/Users/josef/Intune" | Deploy-WtWin32App -Username "[email protected]" (but it also happened with downloading it first and deploying it with a path to the folder)

Command output

INFO: [IntuneManager] Writing detection info with msi details Google.Chrome {829B647D-A3F1-39D5-B446-9D7EC9AB5705}
INFO: [IntuneManager] Writing package readme for package Google.Chrome
INFO: Loading package details from folder /Users/josef/Intune/Google.Chrome/126.0.6478.57
Deploy-WtWin32App: Value cannot be null. (Parameter 's')

PowerShell version

7.4.2 (on a Mac)

Code of Conduct

  • [X] I agree to follow this project's Code of Conduct
  • [X] I won't demand an immediate answer

holnburger avatar Jun 12 '24 20:06 holnburger