> For the complete documentation index, see [llms.txt](https://docs.harmony.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.harmony.io/integrations/edr/microsoft-defender.md).

# Microsoft Defender for Endpoint

Microsoft Defender for Endpoint (MDE) is Microsoft's enterprise endpoint security platform providing threat protection, vulnerability management, and security analytics across Windows, macOS, Linux, iOS, and Android devices. Connecting MDE to Harmony enriches asset records with real-time security posture data - device health, vulnerabilities, and active threat alerts - directly within the Harmony platform.

### What the Microsoft Defender for Endpoint Integration Enables

| Capability              | Description                                                                            |
| ----------------------- | -------------------------------------------------------------------------------------- |
| Device Security Posture | View endpoint health and protection status alongside asset records in Harmony          |
| Vulnerability Findings  | Surface vulnerability data per device to prioritize remediation workflows              |
| Threat Alert Enrichment | Pull active alerts into Harmony to drive automated or agent-led incident response      |
| Multi-Tenant Support    | Connect multiple MDE instances for multi-tenant environments                           |
| Agent Status Monitoring | Track agent states including inactive, outdated, active threats, and scan age          |
| MITRE-Linked Threats    | View MITRE ATT\&CK-mapped threats surfaced directly from MDE alerts                    |
| EDR Provider Visibility | Devices are labeled "Microsoft Defender for Endpoint" as their EDR provider in Harmony |

### Prerequisites

* **Microsoft 365 Defender Access**: Account with **Security Reader** role or higher
* **MDE Subscription**: Active Microsoft Defender for Endpoint Plan 1 or Plan 2
* **Harmony Account**: Active Harmony workspace

### Connect Microsoft Defender for Endpoint to Harmony

#### Step 1: Navigate to Integrations

1. Log in to your Harmony dashboard
2. Go to **Settings** > **Integrations**
3. Find **Microsoft Defender for Endpoint** under **EDR** and click **Connect**

#### Step 2: Sign in with Microsoft

1. You will be redirected to Microsoft to authorize the connection
2. Sign in with a Microsoft account that has **Security Reader** or higher permissions in Microsoft 365 Defender
3. Review the requested permissions and click **Accept**

#### Step 3: Authorize and Save

1. Harmony will connect to your Defender tenant
2. Click **Save**

{% hint style="info" %}
For multi-tenant MDE environments, you can add multiple instances by repeating this process for each tenant.
{% endhint %}

### What Harmony Syncs

**From Microsoft Defender for Endpoint:**

* Device inventory (name, OS, platform, onboarding status)
* Device health and sensor health state
* Risk level and exposure level per device
* Active alerts (severity, category, status, affected device)
* Vulnerability findings per device
* Last seen and first seen timestamps
* Agent status - inactive, outdated, active threats, and scan age
* MITRE ATT\&CK-linked threat details surfaced from MDE alerts
* EDR provider label ("Microsoft Defender for Endpoint") displayed on each connected device

### Use Cases

<details>

<summary>Security-Enriched Asset Records</summary>

View device vulnerability and alert data directly on asset records in Harmony - no need to switch to the Defender portal for context

</details>

<details>

<summary>Automated Threat Response</summary>

Trigger Harmony workflows when high-severity alerts are detected, routing incidents to the right team immediately

</details>

<details>

<summary>Vulnerability Prioritization</summary>

Use Defender vulnerability data to identify and prioritize devices needing patching or remediation

</details>

<details>

<summary>Compliance Reporting</summary>

Generate endpoint security posture reports across the fleet by combining Harmony asset data with MDE findings

</details>

<details>

<summary>Agent Health Monitoring</summary>

Track the status of every MDE-managed endpoint in Harmony - identify devices where the agent is inactive, running an outdated version, showing active threats, or has not completed a recent scan. Address coverage gaps before they become exposure risks.

</details>

<details>

<summary>MITRE ATT&#x26;CK Threat Visibility</summary>

Alerts pulled from MDE include MITRE ATT\&CK technique mappings, giving your team immediate context on attacker behavior and helping prioritize investigation and response.

</details>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.harmony.io/integrations/edr/microsoft-defender.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
