Added web method SetDataDiscoveryRecord and GetDataDiscoveryRecord. Allows to set custom discovery data.
For example:
Operating System Name and Version = “Contoso Windows 10 1903”
OSD Collection Query:
select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System where SMS_R_System.OperatingSystemNameandVersion = " Contoso Windows 10 1903"
After the client sends the heartbeat, It will automatically fall out of the OSD install collection
https://docs.microsoft.com/en-us/sccm/develop/core/servers/configure/how-to-create-a-data-discovery-record
That would be very helpful