GET detectedApps with appid does not return expected info in each field

June Jorgensen 1 Reputation point
2021-07-29T11:31:31.95+00:00

I expect Get /deviceManagement/detectedApps/{appid} should return the same value of that appid under List: /deviceManagement/detectedApps/
However, when I do list, I see
{
"oDataType": null,
"id": "1780bc94f880b8c29a4a0e36f5000190b10447d62d67d9b11ccb9494b096186f",
"deviceCount": 2,
"displayName": "MS Launcher QA 365",
"sizeInByte": 0,
"version": "1.4.2.365.0"
},

when I do /deviceManagement/detectedApps/1780bc94f880b8c29a4a0e36f5000190b10447d62d67d9b11ccb9494b096186f

{
"oDataType": null,
"id": "1780bc94f880b8c29a4a0e36f5000190b10447d62d67d9b11ccb9494b096186f",
"deviceCount": 0,
"displayName": null,
"sizeInByte": 0,
"version": null
}
2. $expand=managedDevices only works on Get, but not on list.
/deviceManagement/detectedApps/1780bc94f880b8c29a4a0e36f5000190b10447d62d67d9b11ccb9494b096186f?$expand=managedDevices shows managedDevices. but deviceManagement/detectedApps?$expand=managedDevices does not expand managedDevices at all. In V1.0 version it gives error of managedDevices is not a property of detectedApps, in beta version, there is no error message, but no expansion either.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,716 questions
0 comments No comments
{count} votes