You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Managed Intune device resource has some user information fields: userId, userPrincipalName, userDisplayName.
Request to the devices list
returns a correct actual Primary User data (at least now, about 1-2 years ago it was not accurate for example after primary user changing)
Request to an individual device returns a wrong Primary User information for several devices (but I have actual PU data for these devices in the List response).
Tested that after changing PU information is synchronized correctly. But, for some OLD-EXISTENT devices where PU was NOT UPDATED information is wrong.
Can this issue be fixed please?
P.S. I know that correct primary user data can be loaded from another query
GET /beta/deviceManagement/managedDevices/{managedDeviceId}/users
But it would be nice if Individual request will return a correct data, like the list request does now.
And we avoid using additional requests for each device / primary user due to query limits, it is very inconvenient and need much time when there is a large amount of devices.
Expected behavior
Request to an Individual managed device to return a correct Primary User data: userId, userPrincipalName, userDisplayName.
How to reproduce
Request to some old-existend managed device: /deviceManagement/managedDevices/{managedDeviceId}?$select=userId,userPrincipalName,userDisplayName
Compare user data with the response of /deviceManagement/managedDevices/{managedDeviceId}/users?$top=1&select=id,userPrincipalName,displayName
Describe the bug
Managed Intune device resource has some user information fields: userId, userPrincipalName, userDisplayName.
Request to the devices list
returns a correct actual Primary User data (at least now, about 1-2 years ago it was not accurate for example after primary user changing)
Request to an individual device returns a wrong Primary User information for several devices (but I have actual PU data for these devices in the List response).
Tested that after changing PU information is synchronized correctly. But, for some OLD-EXISTENT devices where PU was NOT UPDATED information is wrong.
Can this issue be fixed please?
P.S. I know that correct primary user data can be loaded from another query
GET /beta/deviceManagement/managedDevices/{managedDeviceId}/users
But it would be nice if Individual request will return a correct data, like the list request does now.
And we avoid using additional requests for each device / primary user due to query limits, it is very inconvenient and need much time when there is a large amount of devices.
Expected behavior
Request to an Individual managed device to return a correct Primary User data: userId, userPrincipalName, userDisplayName.
How to reproduce
Request to some old-existend managed device:
/deviceManagement/managedDevices/{managedDeviceId}?$select=userId,userPrincipalName,userDisplayName
Compare user data with the response of
/deviceManagement/managedDevices/{managedDeviceId}/users?$top=1&select=id,userPrincipalName,displayName
SDK Version
5.60.0
Latest version known to work for scenario above?
none
Known Workarounds
No response
Debug output
Click to expand log
Other information
Problematic device: graph api response examples
Get device entity response - WRONG user data
Get devices list response - correct user data
Get device users response - correct user data
ANOTHER device: Get managed device returns conflicting data!
Graph explorer screen:
The text was updated successfully, but these errors were encountered: