MSEndpointMgr / IntuneAppFactory

Intune App Factory automates Win32 application packaging in Intune.
https://msendpointmgr.com/intune-app-factory
MIT License
36 stars 11 forks source link

Apps not uploaded to intune when there are no existing apps in intune #7

Open kurtdepre opened 1 year ago

kurtdepre commented 1 year ago

If there are no win32 apps defined in intune already, the pipeline does not work. This might be related to line 268-269 in test-applist.ps1 where a graph call to intune is made, but if the result is $null it is asumed to be an error.

Workaround: manually create a first win32 app in intune.

NickolajA commented 11 months ago

Hi Kurt,

As for the following code part:

image

This covers if the onboarded app could be found in the specified app source.

If there's no existing instance of the given application in Intune, by the name you've specified in the appList.json file, the $Win32Apps variable would be empty and the else statement should pick that up.

Is that not what you're experiencing?