Share via

How to get the device status for this api https://graph.microsoft.com/v1.0/deviceAppManagement/mobileApps/{0}/deviceStatuses?$filter=deviceId eq '{1}'

Divya G 20 Reputation points
2023-08-03T09:39:48.9666667+00:00

I'm trying to retrieve the software installation status from devicemanagement api .

can anyone please provide correct url or any other alternate solution to fix it.

Below is the url .

https://graph.microsoft.com/v1.0/deviceAppManagement/mobileApps/{0}/deviceStatuses?$filter=deviceId eq '{1}'

Microsoft Security | Intune | Configuration Manager | Other
Microsoft Security | Intune | Other
Microsoft Security | Microsoft Graph
0 comments No comments

Answer accepted by question author

Garth 5,806 Reputation points
2023-08-03T12:30:49.6266667+00:00

What makes you say this isn't working?

Was this answer helpful?

0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Nick Eckermann 606 Reputation points
    2023-08-03T12:30:20.4+00:00

    deviceAppManagement is for apps you have setup as managed apps and their details.

    You need to look for mobileAppIntentAndStates if you want to see the state of managed apps on the devices.

    This would be for a specific user on a specific device.
    https://graph.microsoft.com/beta/users/{userId}/mobileAppIntentAndStates/{managedDeviceId}
    Example: https://graph.microsoft.com/beta/users/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/mobileAppIntentAndStates/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx

    If you want to get all apps for all users on the device, then use user 00000000-0000-0000-0000-000000000000

    https://graph.microsoft.com/beta/users/00000000-0000-0000-0000-000000000000/mobileAppIntentAndStates/{managedDeviceId}

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.