Skip to content

Add-IntuneWin32App.ps1 'CommitFile' failed error with PowerShell 7.4.0 #128

@jaspain

Description

@jaspain

Using PowerShell 7.40, Microsoft.Graph 2.91, IntuneWinAppUtil.exe 1.85, and IntuneWin32App 1.42, Add-Intunewin32App.ps1 generates the warnings:

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

The intunewin file upload fails. Using PowerShell 7.39 instead of 7.40 along with the same versions of the other components, the upload succeeds. See Add-IntuneWin32App.ps1, line 621.

Metadata

Metadata

Assignees

Labels

1.4.4bugSomething isn't working

Type

No type

Projects

Status

Completed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions