Closed Karl-Qlogic closed 1 year ago
I tried to upload the example basic apps from https://github.com/FlorianSLZ/IntuneStarterKit/tree/main/Samples/Apps and I get the same error.
So I guess its a permission issue I am experiencing.
I no longer need help with this, as I have created my own script that does exactly what I want with the help of : https://github.com/MSEndpointMgr/IntuneWin32App
Hey!
I am really interested in this module, mostly about the part which would let me upload multiple apps at the same time for new intune customers.
However, I can't get "Add-ISKApps" working. I've tried it from 2 different machines and 2 different tenants (where I am Global Admin) with the same result.
Connect
First I "connect-isk" and I am connected to graph.
Intunewin creation
I have previously used PSAppDeployToolkit, but I created new intunewins for all my test win32 apps, using install.ps1 instead of the .exe when specifying setup file.
This is what they do: Install.ps1:
& "$PSScriptRoot\Deploy-Application.exe"
Uninstall.ps1:& "$PSScriptRoot\Deploy-Application.exe" -DeploymentType "Uninstall"
Repository structure
I am somewhat confused by these repository instructions, but I've tried to include the install/uninstall.ps1 in the folder and also not with the same result. If I understand it correct, the intunewin should include install.ps1/uninstall.ps1 and the repository folder should include the intunewin, check.ps1 and optionally and .png.(I will show tests without .png to decrease log size)
Check.ps1
I've created a check.ps1 which I guess will be used as a custom detection method. Check.ps1
Running Add-ISKApps -Path "C:\AppDeployTest"
Now when I run the command to add apps I get the following error log. What I notice is that the .intunewin file in the log is named IntunePackage.intunewin instead of "7zip.intunewin" as I named it. I notice I get 2 warnings, but not how I would solve them.
Thank you very much for the work you do for the intune community!