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

MS Graph does not seem to return values for "Notes" field of managed devices. #2401

Closed
raymonette2000 opened this issue Nov 3, 2023 · 2 comments

Comments

@raymonette2000
Copy link

The issue is present while using the graph explorer (https://developer.microsoft.com/en-us/graph/graph-explorer) as well when running the powershell command: Get-MgDeviceManagementManagedDevice -Filter "startswith(DeviceName, 'XXXXXXX')" | Format-List
This happens with Beta and v 1.0 of MS-Graph.
"DeviceManagementManagedDevices.Read.All" => Admin Consent set
"DeviceManagementConfiguration.Read.All" => Admin Consent set
"Device.Read.All" => Admin Consent set

Notes are set to "null" in return answer.

R

@timayabi2020
Copy link
Contributor

Hi @raymonette2000.
Both Graph explorer and Microsoft Graph PowerShell SDK get data from the same API path /deviceManagement/managedDevices and pass in the query parameter $filter=startswith(DeviceName, 'XXXXXXX'), so this is most likely a service issue and we may not be best placed to give a solution/answer to this issue. Please open a support ticket/question at https://developer.microsoft.com/en-us/graph/support to get assistance from API owner.

Also see https://learn.microsoft.com/en-us/powershell/microsoftgraph/troubleshooting?view=graph-powershell-1.0#using--debug for more troubleshooting details.

@raymonette2000
Copy link
Author

Hello Timayabi2020. Thank you for following up with me. I apologize for not mentionning this earlier: MOST of the fields are returned by MS Graph or PS. It looks like that particular field is NOT getting values. I ran the query via MS Graph and PS AND looked at the devices on my tenant. The values are in production... Just not getting picked up by Graph or PS. Ill try to reach out to the API owner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants