SOLVED

Get installed software version - REST API

%3CLINGO-SUB%20id%3D%22lingo-sub-1252039%22%20slang%3D%22en-US%22%3EGet%20installed%20software%20version%20-%20REST%20API%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1252039%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20there%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAnyone%20here%20has%20tested%20the%20API%20which%20gets%20installed%20software%3F%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows%2Fsecurity%2Fthreat-protection%2Fmicrosoft-defender-atp%2Fget-installed-software%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows%2Fsecurity%2Fthreat-protection%2Fmicrosoft-defender-atp%2Fget-installed-software%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20tested%20the%20API%20but%20the%20API%20did%20not%20get%20software%20versions.%3C%2FP%3E%3CP%3EI%20want%20to%20know%20how%20to%20get%20software%20versions.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20in%20advance%20for%20your%20help.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1252143%22%20slang%3D%22en-US%22%3ERe%3A%20Get%20installed%20software%20version%20-%20REST%20API%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1252143%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F364437%22%20target%3D%22_blank%22%3E%40sho-kakei%3C%2FA%3E%26nbsp%3BYou%20could%20use%20the%20Advanced%20Hunting%20API%20(%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows%2Fsecurity%2Fthreat-protection%2Fmicrosoft-defender-atp%2Frun-advanced-query-api%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows%2Fsecurity%2Fthreat-protection%2Fmicrosoft-defender-atp%2Frun-advanced-query-api%3C%2FA%3E)%20to%20query%20the%26nbsp%3B%3CEM%3EDeviceTvmSoftwareInventoryVulnerabilities%3C%2FEM%3E%20table.%20This%20table%20contains%20the%26nbsp%3B%3CEM%3ESoftwareVersion%3C%2FEM%3E%20column%20you%20are%20looking%20for%20(%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows%2Fsecurity%2Fthreat-protection%2Fmicrosoft-defender-atp%2Fadvanced-hunting-tvm-softwareinventory-table%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fwindows%2Fsecurity%2Fthreat-protection%2Fmicrosoft-defender-atp%2Fadvanced-hunting-tvm-softwareinventory-table%3C%2FA%3E).%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1254250%22%20slang%3D%22en-US%22%3ERe%3A%20Get%20installed%20software%20version%20-%20REST%20API%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1254250%22%20slang%3D%22en-US%22%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F308995%22%20target%3D%22_blank%22%3E%40StephenMcc%3C%2FA%3E%20I%20was%20able%20to%20get%20software%20versions%20without%20problem.%20Thank%20you%20very%20much%20for%20your%20answer!%3C%2FLINGO-BODY%3E
Highlighted
Occasional 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
Highlighted
Best Response confirmed by sho-kakei (Occasional 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-...).

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