Forum Discussion

WSHvly01's avatar
WSHvly01
Copper Contributor
Mar 01, 2024

Configuration Manager AdminService duplicates

When I query data through the Configuration Manager AdminService, I am getting duplicates only when using the $top query option. An example would be:

 

https://coolprisiteserver/AdminService/v1.0/Device?$select=MachineId,Name&$top=1000

 

For any given computer, there would be 10+ duplicates of the same computer and up to 24+ duplicates. If I take the MachineId from that list and just query it, I get 1 return result as expected:

https://coolprisiteserver/AdminService/v1.0/Device(12467835)

If I look at all of the devices like this, I see 1 instance for each computer:

https://coolprisiteserver/AdminService/v1.0/Device

Any way I can use the $top query option and not get these duplicates?

No RepliesBe the first to reply

Resources