Microsoft Graph Api - Physical Memory Info for Managed Devices is not being returned correctly for all devices.

Swahela Mulla 90 Reputation points
2023-04-12T13:09:12.08+00:00
  • When I'm trying to retrieve physicalMemory info for single device using id then it is working. GET /deviceManagement/manageddevices/{managedDeviceId}?$select=physicalMemoryInBytes
  • But in another case when I'm trying to retrieve physicalMemory info for all devices without using device id that time getting blank/null values for all devices.
  • GET /deviceManagement/managedDevices?$Select=physicalMemoryInBytes

Screenshot 2023-04-12 175145

Screenshot 2023-04-12 182236

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,445 questions
Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
4,743 questions
PowerShell
PowerShell
A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
2,328 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. HarmeetSingh7172 4,811 Reputation points
    2023-04-12T13:41:33.56+00:00

    Hello Swahela Mulla,

    Thanks for reaching out!

    As per the documentation, the property 'physicalMemoryInBytes' return default value 0 in LIST managedDevices. Real value only returned in single device- GET call with device id and included in select parameter.

    You can also refer this similar post.

    Hope this helps.

    If the answer is helpful, please click Accept Answer and kindly upvote. If you have any further questions about this answer, please click Comment.

    1 person found this answer helpful.