Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Win32 application add bug with PowerShell 7.4.5 #279

Open
KG-droid opened this issue Oct 4, 2024 · 0 comments
Open

Win32 application add bug with PowerShell 7.4.5 #279

KG-droid opened this issue Oct 4, 2024 · 0 comments

Comments

@KG-droid
Copy link

KG-droid commented Oct 4, 2024

Hi all,
I think I may have found a bug, when using the Win32_Application_Add.ps1 when uploading the file content for a new win32 app in intune. Specially after alot of testing the issue appears to be related to the Invoke-WebRequest upon uploading the chunks to Azure. Whenever I try to commit the encryption info after the file content upload, I just get commitFileFailed with no further details. But yet this same script works perfectly fine on powershell 7.3.12. Even more weird is that I can upload all the chunks, commit the block list and then download what I've just committed from Azure, and it downloads a working intunewin file that I can decrypt, but yet intune still isn't happy with it apparently. Another thing I've tested too is using the InFile switch with Invoke-RestMethod to upload the file directly rather than in chunks and that works fine, so it appears there is something weird going on when uploading via the body switch with chunks.

Is anyone else experiencing this?

Cheers
Keir

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant