Forum Discussion
ycd_tech
Dec 01, 2021Copper Contributor
physicalMemoryInBytes always returns 0
I followed the blog below, https://techcommunity.microsoft.com/t5/microsoft-intune/total-physical-memory-attribute-graph-location/m-p/2108126 Here is my API endpoint. https://graph.microsoft.c...
Jun 17, 2022
Have tried that too in the last few months, nothing 😞 I see more people asking for this information, but no response/update yet
Dave Randall
Microsoft
Jun 17, 2022https://graph.microsoft.com/beta/deviceManagement/manageddevices('<insert your deviceID here>')?$select=id,hardwareinformation,physicalMemoryInBytes
That will return the physicalMemory. Note that it won't work for /v1.0, only /beta. We haven't updated the v1.0 schema with that information yet, that's why it's failing for you. Currently the only solution is to include hardwareInformation in the $select clause along with the physicalMemoryInBytes property.
That will return the physicalMemory. Note that it won't work for /v1.0, only /beta. We haven't updated the v1.0 schema with that information yet, that's why it's failing for you. Currently the only solution is to include hardwareInformation in the $select clause along with the physicalMemoryInBytes property.
- tanmay111Jan 05, 2026Occasional Reader
Hi, I know this post is old but I'm wondering if there has been any update on this. I'm getting "InvalidPathException: Could not find path in stream: $.value" exception when testing the call from ServiceNow. I am passing the URL as
https://graph.microsoft.com/beta/deviceManagement/manageddevices/3af4d451-ef5d-452d-8278-0221a99d415a?$select=id,hardwareinformation,physicalMemoryInBytes