๐ฑ Recipe ยท Intune & Device Management
Investigate a User's Device Health and Performance via Intune
Diagnose slowness complaints by pulling device specs, compliance state, and installed apps from Microsoft Graph
Complexity
Intermediate
Impact
troubleshooting + device-management + helpdesk + performance + intune
Context
Why This Matters
When a user reports that their computer is slow, the fastest way to triage the issue remotely is to pull device telemetry from Intune rather than scheduling a session on the endpoint. Microsoft Graph exposes hardware specs (RAM, storage, model), OS version, encryption status, compliance/configuration policy state, last sync time, and detected apps โ everything you need to form a hypothesis before touching the device.
This recipe is designed for a common helpdesk scenario: an IT admin receives a ticket like "my laptop is crawling" and needs a structured, repeatable way to investigate without immediately dispatching a technician. Common root causes surfaced by this workflow include under-provisioned VMs, low free disk space, missing Windows updates, unencrypted drives triggering compliance churn, or a specific detected app that is known to be resource-intensive.
When to run it
- A user reports sluggish performance, freezes, or long boot times.
- You want to validate device specs against corporate hardware standards.
- You need a pre-call triage summary before engaging the user on a remote session.
- You are auditing a fleet for under-provisioned or legacy devices.
Expected Outcomes
After completing this recipe you will have:
- A confirmed inventory record for the user's device (name, model, manufacturer, enrollment date, ownership type).
- Key performance indicators: physical memory, total/free storage, OS build, last sync time.
- Security posture: BitLocker/FileVault encryption status, compliance state, configuration profile coverage.
- A list of detected apps installed on the device, useful for spotting known resource hogs or unauthorized software.
- A prioritized, actionable recommendation list (e.g. increase VM RAM, enable BitLocker, remediate compliance error) that you can paste into the ticket response.
Risks & Considerations
Gotchas
- User Experience Analytics endpoints have limited filter support. The
userExperienceAnalyticsDevicePerformanceendpoint does not accept$filter=deviceId eq '...'ordeviceNamefilters via Graph โ you must query the collection and filter client-side, or use the Intune portal's Endpoint Analytics blade for that data. - Compliance state of
compliantcan coexist with policy errors. A device may reportcomplianceState: compliantat the top level while individual policies are in anerrorstate. Always inspectdeviceCompliancePolicyStatesโ don't trust the roll-up alone. detectedAppsis paginated. Use@odata.nextLinkto enumerate all apps; on a typical Windows device you'll see 60โ200 entries.- Last sync time matters. If
lastSyncDateTimeis more than 24 hours old, the data you are seeing is stale โ trigger a sync action before drawing conclusions.
Privacy & compliance
- Detected app inventory can include personal apps on BYOD devices. Respect your organization's BYOD privacy policy when sharing this data.
- Document the investigation in your ticketing system; device inspection of a user's machine should be auditable.
Required Permissions
| Permission | Why It's Needed |
|---|---|
| User.Read.All | Resolve the user's object ID from their display name or UPN. |
| DeviceManagementManagedDevices.Read.All | Read managed device properties (RAM, storage, OS, compliance, enrollment). |
| DeviceManagementConfiguration.Read.All | Read compliance policy states and configuration profile states for the device. |
| DeviceManagementApps.Read.All | Read the list of detected apps installed on the device. |
The fastest way to get this done โ just ask Dex. Copy the prompt below and paste it into your Dex conversation.
For IT Admins
Paste into Dex CoAdmin
For End Users
How an employee would ask Dex for help