Skip to content
Lesson 2 of 70 completed · Sign in to track completionCourse overview →Glossary ↗
Course contents · Bind authority and endpoint coverage
  1. 1. Bind the Defender tenant, device group and operatorFree
  2. 2. Prove Defender onboarding and sensor coverageFree
  3. 3. Follow a Defender event without losing device identityFree account
  4. 4. Collect Defender evidence and record a response decisionPremium
  5. 5. Verify one Defender isolation action from request to effectPremium
  6. 6. Release a Defender-isolated device and verify recoveryPremium
  7. 7. Hand over a Defender endpoint service with bounded evidencePremium

Prove Defender onboarding and sensor coverage

Reconcile the expected Windows pilot with onboarded devices, sensor health and fresh telemetry; distinguish antivirus status, discovery and missing observations.

30 MIN

By AISecurityInterviews · Updated

Keep a return link on this browser. No account needed.

TL;DR: Accept coverage only when each expected asset maps to the intended onboarded device, a healthy reporting sensor and recent relevant telemetry. A green antivirus card or discovered inventory row cannot prove that chain.

Where you are. The pilot's authority is defined. Establish which endpoint observations the service can actually supply.

Reference and lab scope. Microsoft Defender for Endpoint Plan 2 in the Microsoft Defender portal, public documentation checked November 2026. The fictional Harborline lab has an existing commercial tenant with unified RBAC already active and two owned, supported Windows 11 workstations. Record actual OS, sensor and antivirus versions. Procedures are documentation-checked, not tenant-executed; Python checks use original offline fixtures. Optional product work requires explicit authorization, customer-approved connectivity and local recovery access. Screenshots are official documentation examples, not captures of this lab.

Begin with the customer's expected inventory

Mira expects two workstations. That list is the denominator. Starting with only visible Defender devices hides a workstation that never reported. Join the expected asset list to tenant-bound current device IDs, and classify every unmatched or stale entry. A successful installation on one workstation cannot justify declaring the pair covered.

Microsoft distinguishes onboarded and discovered devices. Discovery can identify a network neighbor without installing the endpoint sensor on it. The device inventory, reached through Assets > Devices, exposes onboarding and sensor-health information. Filter the approved group, open each device and compare identity, state and timestamps with the customer's record. Do not merge two rows merely because they share a hostname or address.

The service needs a supported Windows build and the intended license, not just a familiar product name. Check the current minimum requirements before preparation. Record the Windows build, sensor version, antivirus platform/engine and relevant policy owner. This pilot does not claim server or non-Windows parity.

Prepare and verify an authorized test workstation

For an already onboarded workstation, inspect its state rather than rerunning an onboarding package. For a new owned lab device, the customer setup administrator can follow Microsoft's local-script onboarding procedure, intended for ten devices or fewer. In endpoint Onboarding settings, select the applicable Windows version group and the existing approved connectivity method, then choose the local-script deployment method. The generic Windows choice can enter the separate deployment-tool workflow; check the selected method before downloading.

Use only the package from the intended customer's portal, inspect its provenance through the customer's software process, and run it locally with the required administrator rights. Keep the package out of public repositories and training submissions. Do not repackage it or combine onboarding and offboarding operations. Production rollout needs its own managed deployment plan; this two-device exercise does not establish fleet readiness.

Wait for the device record and verify Onboarded plus an active sensor, then inspect recent data. Microsoft notes that reporting delay depends on device and connectivity conditions. An arbitrary five-minute wait is not proof of success or failure. If no data arrives by the pilot's agreed review deadline, record a coverage exception and investigate.

The documented read-only local check below belongs in an authorized Windows command prompt. It queries the sensor service; we have not executed it against a product device.

sc.exe query sense

Microsoft's onboarding troubleshooting guide explains service errors and the SENSE Operational event log. A running service proves a local condition, not cloud delivery. Compare local errors with the customer's approved connectivity configuration, correct tenant package and portal observations. Do not disable protection or loosen network policy merely to make a status turn green.

Diagram
Coverage requires independent observations

EXPECTED ASSET

Customer inventory establishes what must report.

ONBOARDED SENSOR

Current device identity and reporting state.

FRESH EVIDENCE

Relevant event in the intended tenant and interval.

Read antivirus and sensor health separately

Official Microsoft Defender for Endpoint device health card showing antivirus mode and update timestamps

Open the full-size official figure.

Microsoft Defender for Endpoint. Used with permission from Microsoft. Official documentation. This unmodified figure contains July/August 2022 values. Inspect the timestamps and antivirus mode, not the example versions. Its up-to-date heading does not prove that the EDR sensor is reporting or that a particular event was collected.

Microsoft's sensor-health report distinguishes active, inactive, impaired communication and no sensor data. It also warns that report and inventory refresh cadences can differ. The official sensor-health console figure shows that separation, using a 2022 example. Record observation times before treating a disagreement between surfaces as a broken sensor.

Reconcile coverage offline

This model uses fictional aliases and an illustrative 15-minute freshness requirement chosen by Harborline. It is not Microsoft's health-state definition or a reporting SLA. A real review must resolve current device IDs and the appropriate evidence type.

expected = {"asset-01": "device-a", "asset-02": "device-b"}
observed = {
    "device-a": {"onboarded": True, "sensor": "Active", "age": 4},
    "device-b": {"onboarded": False, "sensor": "Unknown", "age": 2},
    "old-device-b": {"onboarded": True, "sensor": "Active", "age": 1},
}

def gaps(rows):
    missing = []
    for asset, device_id in expected.items():
        row = rows.get(device_id)
        if not (row and row["onboarded"] and row["sensor"] == "Active"
                and 0 <= row["age"] <= 15):
            missing.append(asset)
    return missing

assert gaps(observed) == ["asset-02"]
fixed = {**observed, "device-b": {
    "onboarded": True, "sensor": "Active", "age": 3}}
assert gaps(fixed) == []
assert gaps({**fixed, "device-a": {**fixed["device-a"], "age": 40}})
assert gaps({k: v for k, v in fixed.items() if k != "device-b"})
print("Coverage checks passed") # => Coverage checks passed

Passing these checks establishes only the stated pilot evidence. The next lesson verifies a known benign process in telemetry. Neither exercise proves every detection path or creates a security alert. Record that limitation in the service acceptance packet.

Do this before moving on

Create a two-row expected-versus-observed coverage sheet. Include a missing device, a discovered-only row and stale telemetry as separate failure cases. For optional lab work, collect the local service state and corresponding portal evidence without changing unrelated policy.

Go deeper

Key takeaways

  • Expected assets establish the coverage denominator.
  • Discovery, onboarding, antivirus health and sensor reporting are different observations.
  • Freshness thresholds are customer acceptance choices, not invented vendor guarantees.

Check yourself

Say or write your answer first, then reveal. Explaining it from memory, in your own words, is the skill an interviewer is checking.

  1. 1Why can a healthy-looking old record fail acceptance?

  2. 2Does sc.exe query sense prove that the tenant receives events?

Sign in to track which lessons you have finished.