Microsoft Secure Tech Accelerator
Apr 03 2024, 07:00 AM - 11:00 AM (PDT)
Microsoft Tech Community
SOLVED

Get installed software version - REST API

Copper Contributor

Hi there,

 

Anyone here has tested the API which gets installed software?

https://docs.microsoft.com/en-us/windows/security/threat-protection/microsoft-defender-atp/get-insta...

 

I have tested the API but the API did not get software versions.

I want to know how to get software versions.

 

Thanks in advance for your help.

2 Replies
best response confirmed by sho-kakei (Copper Contributor)
Solution

@sho-kakei You could use the Advanced Hunting API (https://docs.microsoft.com/en-us/windows/security/threat-protection/microsoft-defender-atp/run-advan...) to query the DeviceTvmSoftwareInventoryVulnerabilities table. This table contains the SoftwareVersion column you are looking for (https://docs.microsoft.com/en-us/windows/security/threat-protection/microsoft-defender-atp/advanced-...).

@StephenMcc I was able to get software versions without problem. Thank you very much for your answer!
1 best response

Accepted Solutions
best response confirmed by sho-kakei (Copper Contributor)
Solution

@sho-kakei You could use the Advanced Hunting API (https://docs.microsoft.com/en-us/windows/security/threat-protection/microsoft-defender-atp/run-advan...) to query the DeviceTvmSoftwareInventoryVulnerabilities table. This table contains the SoftwareVersion column you are looking for (https://docs.microsoft.com/en-us/windows/security/threat-protection/microsoft-defender-atp/advanced-...).

View solution in original post