List devices by software

Applies to: Microsoft Defender for Endpoint

Note

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

Tip

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

  • api-us.securitycenter.microsoft.com
  • api-eu.securitycenter.microsoft.com
  • api-uk.securitycenter.microsoft.com

Important

Some information relates to prereleased product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Retrieve a list of device references that has this software installed.

Permissions

One of the following permissions is required to call this API. To learn more, including how to choose permissions, see Use Microsoft Defender for Endpoint APIs for details.

Permission type Permission Permission display name
Application Software.Read.All 'Read Threat and Vulnerability Management Software information'
Delegated (work or school account) Software.Read 'Read Threat and Vulnerability Management Software information'

HTTP request

GET /api/Software/{Id}/machineReferences 

Request headers

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

Request body

Empty

Response

If successful, this method returns 200 OK and a list of devices with the software installed in the body.

Example

Request

Here is an example of the request.

GET https://api.securitycenter.microsoft.com/api/Software/microsoft-_-edge/machineReferences

Response

Here is an example of the response.


{
    "@odata.context": "https://api.securitycenter.microsoft.com/api/$metadata#MachineReferences",
    "value": [
        {
            "id": "7c7e1896fa39efb0a32a2cf421d837af1b9bf762",
            "computerDnsName": "dave_desktop",
            "osPlatform": "Windows10",
            "rbacGroupName": "GroupTwo"
        },
        {
            "id": "7d5cc2e7c305e4a0a290392abf6707f9888fda0d",
            "computerDnsName": "jane_PC",
            "osPlatform": "Windows10",
            "rbacGroupName": "GroupTwo"
        }
		...
	]
}