MS Graph API for Status of installed software on individual windows device

Saravanakumar Ganapathy 5 Reputation points
2023-08-07T13:08:46.1533333+00:00

Hi Team,

I’m looking for direction on how to get software/Google Chrome installation status of individual deployed apps on windows 10 devices with MS Graph.

Initially, I was getting software installation of particular device status while invoking below mentioned API's. As of now, it is not working as expected.

API:

  1. https://graph.microsoft.com/beta/deviceAppManagement/mobileApps/9ccebafb-ccea-481d-a11a-34228e3d22ec/deviceStatuses
{
    "error": {
        "code": "BadRequest",
        "message": "Resource not found for the segment 'deviceStatuses'.",
        "innerError": {
            "date": "2023-08-07T12:49:53",
            "request-id": "3fad17ea-9248-48a0-8b62-86b366065dca",
            "client-request-id": "3fad17ea-9248-48a0-8b62-86b366065dca"
        }
    }
}
  1. https://graph.microsoft.com/v1.0/deviceAppManagement/mobileApps/9ccebafb-ccea-481d-a11a-34228e3d22ec/deviceStatuses

Response:

{
    "error": {
        "code": "BadRequest",
        "message": "Resource not found for the segment 'deviceStatuses'.",
        "innerError": {
            "date": "2023-08-07T12:49:23",
            "request-id": "3e988fce-5478-484e-9c47-0f4442ce2c9d",
            "client-request-id": "3e988fce-5478-484e-9c47-0f4442ce2c9d"
        }
    }
}

How to get a software/Google Chrome installation device status which is performed via Intune Admin Center in windows 10 and later device and how to get installed device status information using MS Graph API.?

Microsoft Security Intune Application management
Microsoft Security Intune Other
Microsoft Security Microsoft Graph
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. Crystal-MSFT 53,981 Reputation points Microsoft External Staff
    2023-08-08T02:02:47.0166667+00:00

    @Saravanakumar Ganapathy, Thanks for posting in Q&A. For the Google Chrome, I would like to confirm if it is deployed via Intune win32 app?

    Based on my capturing DevTool log by clicking F12 when I browse the device status of a win32 app. I find it using the following URL and request body

    Action: POST

    URL:https://graph.microsoft.com/beta/deviceManagement/reports/getDeviceInstallStatusReport

    Request body:
    {
        "select": [
            "DeviceName",
            "UserPrincipalName",
            "Platform",
            "AppVersion",
            "InstallState",
            "InstallStateDetail",
            "AssignmentFilterIdsExist",
            "LastModifiedDateTime",
            "DeviceId",
            "ErrorCode",
            "UserName",
            "UserId",
            "ApplicationId",
            "AssignmentFilterIdsList",
            "AppInstallState",
            "AppInstallStateDetails",
            "HexErrorCode"
        ],
        "skip": 0,
        "top": 50,
        "filter": "(ApplicationId eq '<add your app id>')",
        "orderBy": []
    }
    

    User's image

    User's image

    After that, you will get the device status of the app in the file. You need to download it to view.

    Hope the above information can help.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

Your answer

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