Forum Discussion
Intune Graph API deviceStatuses missing device shown in portal
Hello,
I am retrieving device status for an Intune configuration profile using Microsoft Graph API.
API request:
GET https://graph.microsoft.com/beta/deviceManagement/deviceConfigurations/{policyId}/deviceStatuses
Issue:
In the Intune portal, a device shows Success status for the configuration profile under:
Devices → Configuration profiles → Device status
However, when retrieving the same data using the Graph API endpoint above, that device does not appear in the API response.
Observations:
In the Intune portal, the policy shows one device with Success status.
But the Graph API response returns different devices and does not include the device visible in the portal.
Example response (sanitized):
deviceDisplayName: Device-A
status: unknown
deviceDisplayName: Device-B
status: unknown
Questions:
Why would a device appear in the Intune portal device status but not in the Graph API deviceStatuses response?
Is there a delay in data synchronization between the Intune portal and Graph API?
Is there another Graph endpoint recommended for retrieving all device configuration status results?
Additional details:
Graph API version: beta
Permission used: DeviceManagementConfiguration.Read.All
Tested using Graph Explorer
Any insights would be appreciated.