Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get-MgDeviceManagementManagedDevice does not update Primary User info #717

Closed
dandirk opened this issue Jun 23, 2021 · 2 comments
Closed

Comments

@dandirk
Copy link

dandirk commented Jun 23, 2021

If we change Primary User in intune portal, Graph doesn't seem to reflect info of that change.

get-MgDeviceManagementManagedDevice retains info on the previous primary user. Checked about 24 hours later as well.

Also tried using mggraphrequest (beta too): Invoke-MgGraphRequest -Method GET -URI 'https://graph.microsoft.com/v1.0/deviceManagement/managedDevices/IntuneDeviceID' which returned same results.

Not entirely sure which properties should be updated... In the past I know I saw either/both email and UPN update.

UserPrincipalName
EmailAddress
UserID

Though if I run: Invoke-MgGraphRequest -Method GET -URI 'https://graph.microsoft.com/beta/deviceManagement/managedDevices/IntuneDeviceID/users' the UserID of the new user is returned almost immediately after change.
AB#10026

@ghost ghost added the ToTriage label Jun 23, 2021
@ghost ghost added this to Issues to triage in Graph SDK - Triage Jun 23, 2021
@peombwa
Copy link
Member

peombwa commented Jun 23, 2021

This sounds like a service issue since the service isn't returning the UI updated property values. Also, the SDK does not cache responses from the service. I would suggest you:

  1. Try use Graph Explorer to see if you can reproduce the issue there.
  2. If so, open a support ticket here for this to be investigated.

@peombwa peombwa removed this from Issues to triage in Graph SDK - Triage Jun 23, 2021
@peombwa
Copy link
Member

peombwa commented May 13, 2022

Closing as not actionable by the SDK. Please open a question/ticket at https://developer.microsoft.com/graph/support for the service owners to investigate. This repo is for issues directly caused by the SDK.

@peombwa peombwa closed this as completed May 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Graph Service issues
Awaiting triage
Development

No branches or pull requests

2 participants