hey,
I am trying to use the new PSAppDeployToolkit with Intune. I read the manual and examples regarding ServiceUI. I created my app and configured it as usual, using install_forceinteractive.cmd
for installation and uninstall_forceinteractive.cmd
for uninstallation.
However, when I run the application from the company portal, the following message appears: “An error occurred while running Invoke-AppDeployToolkit.ps1. Exit code: 1”. In the invoke-appdeploytoolkit.exe
log, it states: “Commencing invocation … Administrator rights are required. The verb ‘RunAs’ will be used with the invocation. No ‘-File’ parameter specified on command-line”.
On the Intune side, I set the app’s Install behavior to “System”.