Domain 5 β€” Module 4 of 5 80%
31 of 32 overall
Domain 5: Optimize Endpoint Operations Free ⏱ ~13 min read

Endpoint Analytics & Remediations

Endpoint Analytics scores the user experience; Remediations fix it. Learn the scores, the detection-and-remediation script pattern, exit code 1, and which features need an Advanced Analytics entitlement.

Endpoint Analytics measures the experience, not the device

Simple explanation

Endpoint Analytics answers a question your monitoring tools usually can’t: β€œis this laptop annoying to use?”

A device can be fully compliant, fully patched, and still take four minutes to boot and crash Outlook twice a day. Endpoint Analytics scores that lived experience so you can find and fix it.

The scores you must recognise

ScoreMeasuresTypical remedy
Startup performanceBoot and sign-in time, broken into phasesReduce startup apps, review GPO/CSP load, faster disks
Application reliabilityApp crashes and hangs per deviceUpdate or replace the failing app
Work from anywhereCloud-readiness of devices (identity, management, provisioning)Move to Entra join / Autopilot / cloud management
Restart frequencyHow often devices restart, and whyDistinguish update restarts from stop errors
Baselines are the most misread part of Endpoint Analytics

A baseline is a comparison point, not a target that Intune enforces.

Two options exist: the all-organisations median (how you compare to everyone) and a custom baseline captured from your own tenant (how you compare to your past self). If a scenario says β€œwe want to know whether last quarter’s change made things worse”, the answer is a custom baseline β€” comparing to other organisations cannot answer that question.

Nothing is remediated because a score is low. Scores inform; Remediations act.

Baseline analytics vs Advanced Analytics

This split is a favourite distractor, because both live under the same node.

Endpoint Analytics vs Advanced Analytics
FeatureEndpoint Analytics (included with Intune)Advanced Analytics (extra entitlement)
Startup performanceYesYes
Application reliabilityYesYes
Device query (real-time, on demand)NoYes
Anomaly detectionNoYes
Battery healthNoYes
Resource performance (CPU/RAM pressure)NoYes
Device timelineNoYes

If a question asks for on-demand, real-time data from a single device β€” β€œwhat is installed on this laptop right now” β€” that is Device query, and it needs an Advanced Analytics entitlement, available through the Intune Suite add-on, Intune Plan 2, or an eligible Microsoft 365 bundle. Standard Endpoint Analytics reports on collected telemetry, not live state.

Remediations (formerly Proactive Remediations)

Name change you will meet in both directions

Proactive Remediations has been renamed to Remediations, and it now lives in the Intune admin center under Devices β†’ Manage devices β†’ Scripts and remediations.

The blueprint and much existing documentation still say proactive remediations. Treat the two names as the same feature β€” and expect the exam to use either.

A remediation is a script package: a detection script, optionally a remediation script, plus metadata. You can deploy Microsoft’s built-in packages or write your own.

The exit code rule β€” memorise this

# Detection script
$svc = Get-Service -Name 'Spooler' -ErrorAction SilentlyContinue

if ($svc.Status -eq 'Running') {
    Write-Output "Compliant"
    exit 0      # healthy  -> remediation script does NOT run
} else {
    Write-Output "Spooler stopped"
    exit 1      # issue detected -> remediation script RUNS
}

The remediation script runs only when the detection script exits with exit 1. Exit 0 means healthy, and nothing further happens. Getting this backwards is the single most common mistake in this topic.

Requirements worth remembering

RequirementDetail
LicensingWindows Enterprise E3/E5 (incl. in M365 F3/E3/E5), Education A3/A5, or Windows VDA per user
Join stateMicrosoft Entra joined or Microsoft Entra hybrid joined
EnrolmentMDM-enrolled in Intune (Enterprise, Pro or Education) β€” or co-managed
Script encodingUTF-8, and not UTF-8 BOM when signature checking is enforced
Package limitUp to 200 script packages
Output limitMaximum 2,048 characters of output
PermissionsRights under the Device configurations RBAC category

Scheduling

Script packages can run once, hourly, or daily. Choose the interval against the cost of the check β€” an hourly script across 20,000 devices is 20,000 executions per hour, and the output is capped at 2,048 characters regardless.

Remediation vs configuration profile vs platform script

Three things run β€œsettings” at a device, and the exam separates them carefully:

  • Configuration profile β€” declares a desired setting and keeps it that way. Preferred whenever a native setting exists.
  • Platform script (Devices β†’ Scripts) β€” runs PowerShell once, with no detection logic and no built-in repeat.
  • Remediation β€” detection + fix, on a schedule, with reporting on how many devices were found and fixed.

β€œDetect and fix on an ongoing basis, and show me the numbers” is uniquely a Remediation. β€œApply this setting” should be a configuration profile β€” scripting a setting that has a native CSP is the wrong answer even when it would technically work.

Question

Which detection script exit code causes the remediation script to run?

Click or press Enter to reveal answer

Question

What is the maximum number of remediation script packages?

Click or press Enter to reveal answer

Question

Which encoding must remediation scripts use?

Click or press Enter to reveal answer

Question

Which licences entitle a device to Remediations?

Click or press Enter to reveal answer

Question

You need live, on-demand data from a single device. Which feature, and what does it require?

Click or press Enter to reveal answer

Question

What is the current name and location of Proactive Remediations?

Click or press Enter to reveal answer

Knowledge Check

A detection script identifies a stopped service and writes a message, but the remediation script never executes. The package is assigned correctly and the device is enrolled. What is the most likely cause?

Knowledge Check

An organisation wants to know whether device startup times have degraded compared with their own results six months ago. What should they configure?