Forum Discussion
Retrieving the “Device inventory” of iOS devices via the Graph API
We use Microsoft Intune to manage our iOS mobile devices.
To achieve the highest possible level of efficiency, we use PowerShell as a supplementary tool for administration.
Since our devices may contain two SIM cards, it is important for us to be able to read this information in order to perform relevant processes (e.g., adding phone numbers to address books).
In general, it would be desirable to be able to read the information from the “Device Inventory” of iOS devices.
For the reasons mentioned above, we would like this information to be made available via the Graph API. Alternatively, there should be a way to provide this information for all devices in a single report.
2 Replies
I agree this would be very useful.
Today, Graph can return some Intune managed device properties, but not everything that is visible in the Intune “Device inventory” experience is available in a clean or complete way through Graph, especially for detailed iOS SIM/eSIM inventory scenarios.
For environments with dual-SIM iPhones, this becomes a real operational gap. If the portal can show the information, admins naturally expect to be able to export it or automate it through Graph as well.
Ideally, Microsoft should expose this data in one of two ways:
- Add the full iOS Device Inventory fields to the managedDevice / hardwareInformation Graph model.
- Provide an Intune report export that includes this information for all devices.
For now, I would treat this as a product limitation rather than a PowerShell issue. A Graph API or exportable report would definitely make sense for asset management, telecom inventory, phone number mapping, and automation scenarios.
- ppel123Copper Contributor
I have asked a similar question in the past here https://www.reddit.com/r/Intune/comments/1s9exek/query_device_inventory_data_from_powershell_using/, and apparently it is not supported / this data is not exposed through Graph API.