Getting OS Build with API

Copper Contributor

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-...) 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-...).

 

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

 

Thanks in advance for your help.

0 Replies