Forum Discussion

sho-kakei's avatar
sho-kakei
Copper Contributor
Jun 18, 2020

Getting OS Build with API

Hi there,

 

I want to get the Windows10 OS Build (e.g. 19041.329, 18363.904) of all the managed devices.

 

So, I tried to get DeviceInfo with the Advanced Hunting API (https://docs.microsoft.com/ja-jp/windows/security/threat-protection/microsoft-defender-atp/advanced-hunting-deviceinfo-table) but OSVersion fields were blank.

Meanwhile, OSVersion fields were filled (e.g. 10.0.18363.836...) in case of DeviceTvmSoftwareInventoryVulnerabilities (https://docs.microsoft.com/ja-jp/windows/security/threat-protection/microsoft-defender-atp/advanced-hunting-devicetvmsoftwareinventoryvulnerabilities-table).

 

Can anyone tell me how to get the OS Build of the devices?

 

Thanks in advance for your help.

No RepliesBe the first to reply

Resources