How to get detected apps info using v1.0 graph API

Prueba intune 1 Reputation point


In the beta version of the graph API, I can send the following request to get all the detected apps of a device: GET{deviceid}?$expand=detectedApps

This request is not available for v1.0, and I have a bad request response when I send it: GET{deviceid}?$expand=detectedApps

How can I retrieve the detected apps of a device using v1.0 of graph API?

Best Regards,

Microsoft Graph SDK
Microsoft Graph SDK
A Microsoft software developer kit designed to simplify building high-quality, efficient, and resilient applications that access Microsoft Graph.
884 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Danstan Onyango 3,246 Reputation points

    Have you tried List detectedApps and expanding the managed device relationship like$expand=managedDevices? Since the feature you are using is in beta, you can test with that and avoid using in production as they still may change . You may also still create a feature request on Microsoft 365 Developer Platform.

    0 comments No comments

  2. Prueba intune 1 Reputation point

    With the proposed request (1) I have deviceCount info but I don't have any info to identify these devices that have the app installed. Is this the expected behavior? I have same response with the request without the $expand param (2)

    On the other hand, if I have a response with all the applications of the Intune account (including, for every app, all the devices that have it installed), I will have a very heavy response for Intune accounts with a lot of devices.

    Is there in v1.0 of the Graph API a request to get the detectedApps of a unique device?

    (1) GET$expand=managedDevices
    (2) GET

    0 comments No comments