Skip to content

fix(intune-devices-manageddevice-list.md): Match output example to re…#9886

Open
promasu wants to merge 1 commit intomicrosoftgraph:mainfrom
promasu:main
Open

fix(intune-devices-manageddevice-list.md): Match output example to re…#9886
promasu wants to merge 1 commit intomicrosoftgraph:mainfrom
promasu:main

Conversation

@promasu
Copy link
Copy Markdown

@promasu promasu commented May 5, 2026

…ality

Important

Required for API changes:

  • [] Link to API.md file: ADD LINK HERE
  • [] Link to PR for public-facing schema changes (schema-Prod-beta/v1.0.csdl): ADD LINK HERE
  • [] Attach the documentation plan generated for AI-assisted docs authoring and validation to help speed up content review.

Add other supporting information, such as a description of the PR changes:

The outputs from the https://graph.microsoft.com/v1.0/deviceManagement/managedDevices and https://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.
  • do not merge is the default PR status and is automatically added to all open PRs that don't have the ready to merge label.
  • Add the ready for content review label to start a review. Only PRs that have met the minimum requirements for content review and have this label are reviewed.
  • If your content reviewer requests changes, review the feedback and address accordingly as soon as possible to keep your pull request moving forward. After you address the feedback, remove the changes requested label, add the review feedback addressed label, and select the Re-request review icon next to the content reviewer's alias. If you can't add labels, add a comment with #feedback-addressed to the pull request.
  • After the content review is complete, your reviewer will add the content review complete label. When the updates in this PR are ready for external customers to use, replace the do not merge label with ready to merge and the PR will be merged within 24 working hours.
  • Pull requests that are inactive for more than 6 weeks will be automatically closed. Before that, you receive reminders at 2 weeks, 4 weeks, and 6 weeks. If you still need the PR, you can reopen or recreate the request.

For more information, see the Content review process summary.

@learn-build-service-prod
Copy link
Copy Markdown
Contributor

Learn Build status updates of commit 1e5454d:

✅ Validation status: passed

File Status Preview URL Details
api-reference/v1.0/api/intune-devices-manageddevice-list.md ✅Succeeded

For more details, please refer to the build report.

@promasu
Copy link
Copy Markdown
Author

promasu commented May 5, 2026

@microsoft-github-policy-service agree

@Danipocket Danipocket requested review from Copilot and jaiprakashmb May 5, 2026 15:51
@Danipocket
Copy link
Copy Markdown
Contributor

@jaiprakashmb, this PR was created by an external contributor. Would you mind taking a look at it. Thanks!

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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, null values, and simplified timestamps).
  • Adds inline annotations in the example response to call out endpoint-specific behaviors.
  • Updates the front matter ms.date.

Comment on lines 74 to +78
"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
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

Successfully merging this pull request may close these issues.

3 participants