Microsoft Defender logo

Integrate Microsoft Defender with your AI CRM

Investigate and manage Microsoft Defender security alerts, incidents, hunting results, secure scores, attack simulations, threat intelligence, and threat submissions through Microsoft Graph.

Explore Triggers and Actions

Add Alert Comment

Append a comment to a Microsoft Defender security alert. The API does not provide a way to remove the comment.

ActionTry it

Add Incident Comment

Append an analyst comment to a Microsoft Defender incident; comments cannot be removed by this action.

ActionTry it

Create Email Submission Policy

Create an email threat-submission policy with the supplied settings.

ActionTry it

Create Simulation

Create an attack simulation using payload, login-page, and landing-page resource IDs; acceptance is asynchronous.

ActionTry it

Delete Email Submission Policy

Delete an email threat-submission policy by its Microsoft Graph identifier.

ActionTry it

Delete Simulation

Delete an attack simulation campaign.

ActionTry it

Get Alert

Retrieve the documented properties of a Microsoft Defender security alert.

ActionTry it

Get Article Indicator

Read a Microsoft Defender Threat Intelligence article indicator.

ActionTry it

Get Email Submission Policy

Get one email threat-submission policy by its Microsoft Graph identifier.

ActionTry it

Get Host Component

Read a web component observed on a threat-intelligence host.

ActionTry it

Get Host Cookie

Read a cookie observed on a Microsoft Defender Threat Intelligence host.

ActionTry it

Get Host Pair

Read a parent-child host relationship observed by Microsoft Defender Threat Intelligence.

ActionTry it

Get Host Port

Read a port observed on a Microsoft Defender Threat Intelligence host.

ActionTry it

Get Host Reputation

Get the reputation properties and relationships for a threat-intelligence host.

ActionTry it

Get Host Tracker

Read an internet tracker observed on a Microsoft Defender Threat Intelligence host.

ActionTry it

Get Host WHOIS

Get the WHOIS record associated with a threat-intelligence host.

ActionTry it

Get Incident

Retrieve a Microsoft Defender incident by its identifier.

ActionTry it

Get Intelligence Profile

Get a Microsoft Defender threat-intelligence profile by identifier.

ActionTry it

Get Intelligence Profile Indicator

Get a Microsoft Defender intelligence profile indicator by identifier.

ActionTry it

Get Landing Page

Get a landing page associated with an attack simulation campaign.

ActionTry it

Get Login Page

Get a login page associated with an attack simulation campaign.

ActionTry it

Get Passive DNS Record

Get a Microsoft Defender passive DNS record by identifier.

ActionTry it

Get Payload

Get an attack simulation campaign payload.

ActionTry it

Get Payload Detail

Get detailed content for an attack simulation campaign payload.

ActionTry it

Get Secure Score

Retrieve a Microsoft secure score by its provider-generated identifier.

ActionTry it

Get Secure Score Control Profile

Retrieve a Microsoft secure score control profile by its identifier.

ActionTry it

Get Simulation

Get an attack simulation campaign.

ActionTry it

Get Simulation Automation

Get an attack simulation automation.

ActionTry it

Get Simulation Landing Page

Get the landing page associated with an attack simulation campaign.

ActionTry it

Get Simulation Login Page

Get the login page associated with an attack simulation campaign.

ActionTry it

Get Simulation Operation

Get an attack simulation operation to track a long-running request.

ActionTry it

Get Simulation Payload

Get the payload associated with an attack simulation campaign.

ActionTry it

Get Simulation Report Overview

Get an overview of an attack simulation and training campaign.

ActionTry it

Get Subdomain

Get a Microsoft Defender threat-intelligence subdomain by identifier.

ActionTry it

Get Threat Article

Read a Microsoft Defender Threat Intelligence article by ID.

ActionTry it

Get Threat Host

Read a hostname or IP address detected by Microsoft Defender Threat Intelligence.

ActionTry it

Get Threat Submission

Get one email, file, or URL threat submission by its Microsoft Graph identifier.

ActionTry it

Get Training

Get an attack simulation training resource.

ActionTry it

Get Training Language Detail

Get localized language details for an attack simulation training.

ActionTry it

Get Vulnerability

Get a Microsoft Defender threat-intelligence vulnerability by identifier.

ActionTry it

Get Vulnerability Component

Get a component associated with a Microsoft Defender vulnerability.

ActionTry it

Get WHOIS History Record

Get a Microsoft Defender WHOIS history record by identifier.

ActionTry it

Get WHOIS Record

Get a Microsoft Defender WHOIS record by identifier.

ActionTry it

List Alerts

Get a page of Microsoft Defender security alerts and their properties.

ActionTry it

List Article Indicators

List indicators of threat or compromise associated with a threat article.

ActionTry it

List Attack Simulation Repeat Offenders

Get one page of tenant users who yielded to attacks more than once in attack simulation campaigns.

ActionTry it

List Email Submission Policies

Get the email threat-submission policies and their current settings.

ActionTry it

List End User Notifications

Get one page of attack simulation end-user notification templates.

ActionTry it

List Host Components

List web components observed on a Microsoft Defender Threat Intelligence host.

ActionTry it

List Host Cookies

List cookies observed on a Microsoft Defender Threat Intelligence host.

ActionTry it

List Host Pairs

List all, child, or parent host-pair relationships for a threat-intelligence host.

ActionTry it

List Host Passive DNS

List passive-DNS records associated with a Microsoft Defender Threat Intelligence host.

ActionTry it

List Host Ports

Get one page of ports associated with a Microsoft Defender threat-intelligence host.

ActionTry it

List Host Reverse Passive DNS

Get one page of passive DNS records that resolve to the specified host.

ActionTry it

List Host Subdomains

Get one page of subdomain resources associated with a threat-intelligence host.

ActionTry it

List Host Trackers

Get one page of trackers associated with a threat-intelligence host.

ActionTry it

List Host WHOIS History

Get one page of historical WHOIS records associated with a host.

ActionTry it

List Incidents

Get one page of Microsoft Defender incidents and an opaque continuation cursor.

ActionTry it

List Intelligence Profile Indicators

Get one page of indicators associated with a Microsoft Defender intelligence profile.

ActionTry it

List Intelligence Profiles

Get one page of Microsoft Defender threat-intelligence profiles.

ActionTry it

List Landing Pages

Get one page of landing pages for attack simulation campaigns.

ActionTry it

List Login Pages

Get one page of login pages for attack simulation campaigns.

ActionTry it

List Payloads

Get one page of payloads for attack simulation campaigns.

ActionTry it

List Secure Score Control Profiles

Return one page of Microsoft secure score control profiles and an opaque continuation cursor.

ActionTry it

List Secure Scores

Return one page of daily Microsoft secure scores and an opaque continuation cursor.

ActionTry it

List Simulation Automation Runs

Get one page of runs for an attack simulation automation.

ActionTry it

List Simulation Automations

Get one page of attack simulation automations.

ActionTry it

List Simulation User Coverage

Get one page of attack simulation coverage records for tenant users.

ActionTry it

List Simulation Users

List users and their recorded actions in an attack simulation campaign.

ActionTry it

List Simulations

Get one page of attack simulation campaigns.

ActionTry it

List Threat Articles

List Microsoft Defender Threat Intelligence articles one page at a time.

ActionTry it

List Threat Submissions

List one page of email, file, or URL threat submissions visible to the connected account.

ActionTry it

List Training User Coverage

Get one page of training coverage records for tenant users in attack simulation campaigns.

ActionTry it

List Trainings

Get one page of attack simulation training resources.

ActionTry it

List Vulnerability Components

Get one page of components associated with a Microsoft Defender vulnerability.

ActionTry it

List WHOIS Record History

Get one page of historical records for a Microsoft Defender WHOIS record.

ActionTry it

List WHOIS Records

Get one page of WHOIS records from Microsoft Defender threat intelligence.

ActionTry it

Merge Incidents

Merge at least two Microsoft Defender incidents into one incident. This changes incident relationships and cannot be undone; an optional comment also cannot be removed by this action. Requires Microsoft's documented SecurityData.Manage.All permission, which is absent from the current Graph permissions catalog, so authorization may be unavailable.

ActionTry it

Move Alerts

Move one or more Microsoft Defender alerts to a new or existing incident. This changes alert-to-incident relationships and cannot be undone; an optional comment also cannot be removed by this action. Requires Microsoft's documented SecurityData.Manage.All permission, which is absent from the current Graph permissions catalog, so authorization may be unavailable.

ActionTry it

Review Email Threat Submission

Record the administrator's review category for an email threat submission.

ActionTry it

Run Hunting Query

Run a Kusto Query Language query against Microsoft Defender advanced-hunting data for the requested time span or workspace.

ActionTry it

Submit Email Threat

Submit email content or a Microsoft Graph message URL for security analysis; this starts an external review workflow and cannot be undone here.

ActionTry it

Submit File Threat

Submit base64 file content for security analysis; this starts an external review workflow and cannot be undone here.

ActionTry it

Submit URL Threat

Submit a URL for security analysis; this starts an external review workflow and cannot be undone here.

ActionTry it

Update Alert

Update one or more mutable properties of a Microsoft Defender security alert.

ActionTry it

Update Email Submission Policy

Update one or more settings on an email threat-submission policy.

ActionTry it

Update Incident

Update one or more editable properties of a Microsoft Defender incident.

ActionTry it

Update Secure Score Control Profile

Update tenant state, assignment, comments, and required vendor information for a Microsoft secure score control profile.

ActionTry it

Update Simulation

Update a draft attack simulation, optionally binding a payload by resource ID; acceptance does not mean completion.

ActionTry it

How the Microsoft Defender integration works

The Microsoft Defender integration connects your Dench AI CRM directly to Microsoft Defender, so agents can read and act on your Microsoft Defender data as part of everyday work — answering questions in chat, keeping your CRM in sync, and running automations without anyone copying data between tools.

89 actions are available for agents to invoke on your behalf. Every call runs through Microsoft Defender's own authorization, scoped to the account you connect.

Set up Microsoft Defender in Dench

  1. 1

    Sign in to your Dench workspace and open Integrations.

  2. 2

    Find Microsoft Defender and click Connect — you'll authorize access through Microsoft Defender's own sign-in flow. No API keys or code required.

  3. 3

    Ask an agent to use Microsoft Defender in chat, or call it from an automation.

  4. 4

    Manage or disconnect the connection any time from workspace settings.

Frequently asked questions

How does the Microsoft Defender integration work with Dench?

The Dench Microsoft Defender integration connects your AI CRM to Microsoft Defender, so AI agents can work with your Microsoft Defender data as part of chats, automations, and CRM workflows. You connect your account once, and every agent in your workspace can use it — governed by your workspace permissions.

What actions can AI agents perform with Microsoft Defender via Dench?

The Microsoft Defender integration currently exposes 89 actions, including Add Alert Comment, Add Incident Comment, Create Email Submission Policy, Create Simulation, Delete Email Submission Policy, and Delete Simulation. Agents invoke them on your behalf from chat or from automations.

Do I need to write code to connect Microsoft Defender to Dench?

No. You connect Microsoft Defender from your Dench workspace using Microsoft Defender's own sign-in and authorization flow — no API keys to copy, no glue code to maintain.

Is the Microsoft Defender integration secure?

Connections are authorized through Microsoft Defender's own authentication flow, and Dench stores only the authorization needed to act on your behalf. You can review and disconnect the Microsoft Defender connection from your workspace settings at any time.

Microsoft Defender | Dench AI CRM