Get missing KBs by device ID

Applies to:

Want to experience Microsoft Defender for Endpoint? Sign up for a free trial.

Want to experience Microsoft Defender Vulnerability Management? Learn more about how you can sign up to the Microsoft Defender Vulnerability Management public preview trial.


If you are a US Government customer, please use the URIs listed in Microsoft Defender for Endpoint for US Government customers.


For better performance, you can use server closer to your geo location:


Retrieves missing KBs (security updates) by device ID

HTTP request

GET /api/machines/{machineId}/getmissingkbs


The following permission is required to call this API. To learn more, including how to choose permissions, see Use Microsoft Defender for Endpoint APIs.

Permission type Permission Permission display name
Application Software.Read.All 'Read Threat and Vulnerability Management Software information'

Request header

Name Type Description
Authorization String Bearer {token}. Required.

Request body



If successful, this method returns 200 OK, with the specified device missing kb data in the body.



Here is an example of the request.



Here is an example of the response.

    "@odata.context": "$metadata#Collection(microsoft.windowsDefenderATP.api.PublicProductFixDto)",
    "value": [
            "id": "4540673",
            "name": "March 2020 Security Updates",
            "productsNames": [
            "url": "",
            "machineMissedOn": 1,
            "cveAddressed": 97