MSEndpointMgr / IntuneWin32App

Provides a set of functions to manage all aspects of Win32 apps in Microsoft Intune.
MIT License
351 stars 91 forks source link

Get-IntuneWin32App returns no Apps #174

Open ThoVos-CH opened 3 months ago

ThoVos-CH commented 3 months ago

hi there,

I have a problem getting already created apps in intune.

I added an App with:

Add-IntuneWin32App -FilePath $IntuneWinFile -DisplayName $DisplayName -Description $DisplayDescription -Publisher $DisplayPublisher -InstallExperience "system" -RestartBehavior "suppress" -DetectionRule $DetectionRule -RequirementRule $RequirementRule -InstallCommandLine $InstallCommandLine -UninstallCommandLine $UninstallCommandLine -Verbose

This worked fine, and in Intune under Apps i can see the newly created APP.

But when i run Get-IntuneWin32App it returns no apps.

Only: Query for Win32 apps returned an empty result, no apps matching type 'win32LobApp' was found in tenant

I am using latest Version 1.44 of IntuneWin32App

Someone a guess why this happens?

Remark; this was a Test tenant. It was the first LOB APP. I created a second one and viola, both are displayed. I removed one. Again no output, if you have only 1 Lob APP in the Tenant. Some sort of counter Problem?

FelixBellut commented 2 months ago

Hey,

same Issu. But when i run the command "get-IntuneWin32App" without displayname, then in the Array the app is Visible.

Thx

Fx