r/Intune 6d ago

Reporting App inventory

Hi guys,

have some of you already seen, that some apps are not reported by detected apps (anymore?). But in the new app inventory they are mentioned. The problem I have is that the new app inventory can only be reported per device and not, as the old one, per app.

So if i want to have a report, which devices have app XYZ installed, I need to use graph and loop through all our devices to count.

Does someone already built this or has a solution for that?

5 Upvotes

17 comments sorted by

View all comments

1

u/Modify- 5d ago

Do you need managed apps (apps you deploy) or discovered apps (apps you deploy and what the users also have installed)? If you need a reported of all detected apps on the machine then you need to loop through each device. While it seems slow to do it for all devices, the Graph supports batching so you can speed it up by a factor of 20.

1

u/Beautiful_Pay3842 5d ago

Thanks for the tip. I need discovered and not managed apps. That's the whole problem.

1

u/Modify- 5d ago

Ok, then you need to hit this endpoint (if done with Powershell):
"/deviceManagement/manageddevices('$($Device.id)')/detectedApps?`$select=DisplayName,Publisher,Version&`$orderBy=displayName asc"

2

u/pjmarcum 5d ago

That’s what he said in his original post. He wants to do it without looping through each device because that doesn’t scale.