fix(intune-devices-manageddevice-list.md): Match output example to re… - #9886
fix(intune-devices-manageddevice-list.md): Match output example to re…#9886promasu wants to merge 1 commit into
Conversation
|
Learn Build status updates of commit 1e5454d: ✅ Validation status: passed
For more details, please refer to the build report. |
|
@microsoft-github-policy-service agree |
|
@jaiprakashmb, this PR was created by an external contributor. Would you mind taking a look at it. Thanks! |
There was a problem hiding this comment.
Pull request overview
Updates the List managedDevices API reference topic to better reflect observed differences in example responses returned by the collection (/managedDevices) endpoint compared to the single-entity (/managedDevices/{id}) endpoint.
Changes:
- Adjusts the example response payload for
GET /deviceManagement/managedDevices(for example, empty arrays,nullvalues, and simplified timestamps). - Adds inline annotations in the example response to call out endpoint-specific behaviors.
- Updates the front matter
ms.date.
| "deviceName": "Device Name value", | ||
| "managedDeviceOwnerType": "company", | ||
| "deviceActionResults": [ | ||
| { | ||
| "@odata.type": "microsoft.graph.deviceActionResult", | ||
| "actionName": "Action Name value", | ||
| "actionState": "pending", | ||
| "startDateTime": "2016-12-31T23:58:46.7156189-08:00", | ||
| "lastUpdatedDateTime": "2017-01-01T00:00:56.8321556-08:00" | ||
| } | ||
| ], | ||
| "deviceActionResults": [], # Value always empty | ||
| "managementState": "retirePending", | ||
| "enrolledDateTime": "2016-12-31T23:59:43.797191-08:00", | ||
| "lastSyncDateTime": "2017-01-01T00:02:49.3205976-08:00", | ||
| "enrolledDateTime": "2016-12-31T23:59:43-08:00", |
| "remoteAssistanceSessionUrl": "https://example.com/remoteAssistanceSessionUrl/", | ||
| "remoteAssistanceSessionErrorDetails": "Remote Assistance Session Error Details value", | ||
| "remoteAssistanceSessionUrl": null, # Returns null when not set | ||
| "remoteAssistanceSessionErrorDetails": "Remote Assistance Session Error Details value", # Returns null when not set |
| ms.subservice: "intune" | ||
| doc_type: apiPageType | ||
| ms.date: 08/01/2024 | ||
| ms.date: 05/05/2026 |
|
@jaiprakashmb - For review IMPORTANT: When the changes are ready for publication, adding a |
|
hi! We can't review or approve PRs with major changes through this repo. Please direct internal contributors to submit their PRs through our private repo instead. |
…ality
Important
Required for API changes:
Add other supporting information, such as a description of the PR changes:
The outputs from the
https://graph.microsoft.com/v1.0/deviceManagement/managedDevicesandhttps://graph.microsoft.com/v1.0/deviceManagement/managedDevices/{managedDeviceId}deviate strongly but the differences are not shown in the example outputs, they even suggest that the outputs are the same.This change brings clarity within the documentation, when adhering to REST principals and providing consistent outputs across different endpoints regarding the same entity seems not wanted.
Important
The following guidance is for Microsoft employees only. Community contributors can ignore this message; our content team will manage the status.
After you've created your PR, expand this section for tips and additional instructions.
#feedback-addressedto the pull request.For more information, see the Content review process summary.