> ## Documentation Index
> Fetch the complete documentation index at: https://docs.contraforce.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Defender for Endpoint On-Queue 

> Enable Security Delivery Agents to automatically detect and respond to Microsoft Defender for Endpoint incidents without Sentinel forwarding.

## Overview

Agent On-Queue for Defender for Endpoint allows ContraForce Security Delivery Agents to automatically detect and respond to incidents originating directly from Microsoft Defender for Endpoint with no Microsoft Sentinel forwarding required.

Previously, agents could only auto-trigger on incidents ingested through Sentinel. Customers using Defender for Endpoint directly had to manually trigger agent actions. With this update, ContraForce polls Defender for Endpoint for new incidents approximately every **2 minutes**, automatically triggering your agent to triage and respond  in order to deliver the autonomous SOC experience with minimal time-to-respond.

<Tip>
  If your environment already forwards Defender for Endpoint incidents to Microsoft Sentinel (`FetchToSentinel = true`), your existing agent workflow is unaffected. This feature is designed for environments where Sentinel forwarding is **not** configured.
</Tip>

## How It Works

ContraForce continuously polls the Microsoft Defender for Endpoint security API for new incidents across all eligible customer accounts. When a new incident is detected:

1. The platform identifies the incident and checks it against previously processed incidents to prevent duplicates.
2. A notification is queued for processing.
3. ContraForce validates that the account has a deployed agent with the appropriate severity capability for the incident.
4. The agent is automatically triggered on-queue to investigate and respond — just as it would for Sentinel-ingested incidents.

The entire pipeline runs automatically. No manual intervention is required once configured.

## Prerequisites

Before Agent On-Queue for Defender for Endpoint can activate for a workspace, **all** of the following must be true:

<Steps>
  <Step title="Active Subscription">
    The account must have an **Active** or **Trial** ContraForce subscription.
  </Step>

  <Step title="Defender for Endpoint Module Enabled">
    The Defender for Endpoint security provider must be enabled for the workspace. See [Defender for Endpoint Module Deployment](/guides/onboarding/defender-for-endpoint-module-deployment) for setup instructions.
  </Step>

  <Step title="Partner Consent Granted">
    Microsoft Defender partner consent must be granted during onboarding. This is the same consent flow completed when deploying the Defender module.
  </Step>

  <Step title="Sentinel Forwarding Disabled">
    The workspace must **not** be configured to forward Defender for Endpoint incidents to Sentinel. If `FetchToSentinel` is enabled, incidents are ingested through the existing Sentinel pipeline instead.
  </Step>

  <Step title="Agent Deployed with ProcessIncident Capability">
    A Security Delivery Agent must be deployed via [Agent Center](/guides/onboarding/agent-center-deployment) with the **ProcessIncident** capability enabled for the target incident severity levels (High, Medium, Low, Informational).
  </Step>
</Steps>

<Tip>
  Not sure if your workspace meets these requirements? Navigate to **Agent Center** in the ContraForce portal and verify your agent's status shows **On Queue**. If the agent is deployed but not processing Defender for Endpoint incidents, review the prerequisites above.
</Tip>

## What Changes for You

### If you use Defender for Endpoint without Sentinel

This is the feature for you. Once the prerequisites are met, your agent will begin automatically processing Defender for Endpoint incidents within approximately 2 minutes of their creation. No configuration changes are needed on your end — the platform handles everything.

### If you already forward to Sentinel

Nothing changes. Your incidents continue to flow through the Sentinel ingestion pipeline as before. The Defender for Endpoint polling pipeline automatically excludes accounts with Sentinel forwarding enabled.

### If you use both

Accounts are evaluated individually. Workspaces with Sentinel forwarding enabled use the Sentinel pipeline. Workspaces without Sentinel forwarding use the new Defender for Endpoint polling pipeline. There is no overlap or duplicate processing.

## Configuring Your Agent for Defender for Endpoint Incidents

If you already have a Security Delivery Agent deployed and configured, no additional setup is required. The platform automatically detects eligible workspaces and begins polling.

To deploy or configure an agent:

1. Navigate to **Agent Center** from the left navigation menu.
2. Deploy your agent following the [Agent Center Deployment](/guides/onboarding/agent-center-deployment) guide.
3. Configure the agent's **ProcessIncident** capability and select which severity levels the agent should handle automatically.
4. Set the agent mode to **On Queue**.

Once the agent is on-queue with ProcessIncident enabled, ContraForce will begin polling Defender for Endpoint and triggering the agent for matching incidents.

<Tip>
  For a phased rollout, start with the agent in **Manual** mode where the agent suggests actions and you approve. Once you're confident in the response quality, move to **Automatic** or **Full Autonomous** mode. See [Configuring Security Delivery Agents](/guides/getting-started/configuring-security-delivery-agents) for details on agent modes.
</Tip>

## Verifying It's Working

After setup, confirm that the pipeline is active:

1. **Check Agent Center** — Verify your agent status shows **On Queue** and the mode is set to your preferred level (Manual, Automatic, or Autonomous).
2. **Monitor the Command Dashboard** — New Defender for Endpoint incidents should appear on the [Command Dashboard](/guides/getting-started/command-dashboard) within approximately 2 minutes of creation in Defender.
3. **Review Gamebook Activity** — When the agent processes an incident, you'll see corresponding Gamebook activity in the [Gamebook Activity](/guides/getting-started/what-are-gamebooks) widgets and the incident's Workbench.
4. **Check Agent Execution History** — Navigate to Agent Center to review the agent's execution history and confirm incidents are being processed.

## Incident Detection Timing

ContraForce polls Defender for Endpoint approximately every **2 minutes**. This means:

* New incidents are typically detected within 2 minutes of appearing in Defender for Endpoint.
* The agent is triggered immediately after detection and validation.
* End-to-end time from incident creation to agent response initiation is typically **under 5 minutes**.

## Troubleshooting

| Issue                                                                | Likely Cause                             | Resolution                                                                                                                                      |
| -------------------------------------------------------------------- | ---------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
| Agent not processing Defender for Endpoint incidents                 | Agent not set to "On Queue" mode         | Navigate to **Agent Center** and set the agent mode to **On Queue**                                                                             |
| Incidents not appearing from Defender for Endpoint                   | Partner consent not granted              | Re-run the consent flow from **Workspace Settings → Module Configuration** with Cloud App Admin, Application Admin, or Global Admin credentials |
| Duplicate incidents appearing                                        | Sentinel forwarding is also enabled      | Verify the workspace is not forwarding Defender for Endpoint incidents to Sentinel. Only one ingestion path should be active                    |
| Agent triggers for wrong severity levels                             | ProcessIncident capability misconfigured | Review the agent's severity capability settings in **Agent Center** and adjust which severity levels are handled                                |
| No incidents detected despite active Defender for Endpoint incidents | Account eligibility not met              | Verify all [prerequisites](#prerequisites) are satisfied — subscription status, module enablement, partner consent, and agent deployment        |
| Agent was working but stopped processing                             | Subscription lapsed or consent revoked   | Confirm subscription is still Active/Trial and re-authorize partner consent if needed                                                           |

If the issue persists after reviewing the above, contact [**support@contraforce.com**](mailto:support@contraforce.com) with:

* Workspace name
* Agent status screenshot from Agent Center
* Approximate timestamp of the incident that was not processed
* Any error messages visible in the portal

## Frequently Asked Questions

**Do I need to change anything if I'm already using Sentinel?** No. If your workspace forwards Defender for Endpoint incidents to Sentinel, your existing pipeline continues to work. The Defender for Endpoint polling pipeline automatically skips your account.

**Can I use both Sentinel and direct Defender for Endpoint ingestion for the same workspace?** No. Each workspace uses one ingestion path. If Sentinel forwarding is enabled, incidents come through Sentinel. If it's disabled, incidents come through the Defender for Endpoint polling pipeline. This prevents duplicate processing.

**What response actions are available for Defender for Endpoint incidents?** The same Gamebook response actions available for any incident — device isolation, account disabling, password resets, IP/URL blocking, file quarantine, email deletion, and more. See the [Microsoft Defender Capability Matrix](/guides/technical/microsoft-defender-capability-matrix) for the full list based on your license.

**Is there any additional cost for this feature?** No. Agent On-Queue for Defender for Endpoint is included with your existing ContraForce subscription and agent deployment. No additional modules or licenses are required beyond the standard Defender module and Agent Center.

**What happens if the polling service restarts?** Polling state is persisted per account. If the service restarts, it resumes from the last known position with a configurable overlap window to ensure no incidents are missed.
