Remove detectedApps no longer installed on a device
When $expand=detectedApps is included on the /deviceManagement/managedDevices/{managedDeviceId} endpoint, all apps that have ever been installed on the device are returned. It would be great if only currently installed applications were returned to get an accurate representation of the applications on the device.
Example from a device in our environment, I only want to know the current version of the IME, not every version that's ever been installed:
Microsoft Intune Management Extension 1.15.109.0
Microsoft Intune Management Extension 1.24.114.0
Microsoft Intune Management Extension 1.15.102.0
Microsoft Intune Management Extension 1.23.103.0
Microsoft Intune Management Extension 1.22.107.0
