How to Build an Agentic SOC on Microsoft Sentinel
Skip to content

Build an Agentic SOC on Microsoft Sentinel

An agentic SOC adds AI investigation and coordinated response to the Microsoft Sentinel environment you already run.

Define the SOC You Want to Run

Agents take work from the incident queue, gather evidence across connected systems, and prepare findings and actions for analysts to review. Approved workflows can also close incidents or execute specific response actions within defined limits.

Start with the work and the people responsible for it. An agentic SOC needs clear ownership of investigations, escalations, response, and quality, even when agents carry out much of the routine work.

Decide what should change for the team. Your first goal might be to remove repetitive evidence gathering, shorten overnight investigation delays, or give analysts completed assessments for a frequent alert class.

Define the responsibilities alongside that goal:

Agents

Gather and assess evidence, document findings, and prepare the permitted next steps.

Analysts

Resolve uncertainty, challenge conclusions, direct further work, and handle decisions requiring judgment.

Engineers

Maintain integrations, investigation skills, detections, and execution controls.

Service owners

Approve the scope, acceptance criteria, and authority granted to each workflow.

An agentic SOC can grow beyond triage into hunting, detection engineering, and reporting. Those workflows should share evidence and established methods, with responsibility assigned for their outputs.

For the wider operating model, see What Is an Agentic SOC?.

Implement in Stages

Build around one workflow first, then increase its scope and authority separately. Adding another alert class needs investigation testing; allowing an action to run without approval needs its own execution testing.

StageAgent authorityEvidence needed to progress
Offline testingInvestigates test cases without production changes.Valid evidence, appropriate conclusions, and reliable handling of failures.
Recommend onlyInvestigates live incidents while analysts retain decisions.Useful assessments, understood disagreements, and acceptable manual effort.
Defined benign closureCloses explicitly approved classes under evidence requirements.Validated closure policy, exclusions, sampling, and stop controls.
Approved responsePrepares actions and executes only after authorization.Correct plans, targets, impact review, and execution verification.
Bounded executionRuns specifically authorized actions when policy conditions hold.Tested eligibility, failure handling, operational impact, and recovery.

These are practical checkpoints, rather than a requirement to automate every stage. An approved-response workflow can remain human-approved indefinitely. Automatic closure and containment are separate permissions, and neither should be enabled across the whole queue at once.

Begin with a limited set of incidents and a named analyst responsible for review. Keep the existing monitoring and response process running while you compare results. Define how unfinished work returns to that process if the agent fails, reaches a limit, or is suspended.

Closure-policy testing is covered in Autonomous Alert Triage.

Design the Agent Layer

Microsoft Sentinel can remain your SIEM and incident source. The agent layer connects its data and tools to a managed investigation process, while analysts retain visibility and control.

The following capabilities need to work together, whether supplied by Microsoft, an adopted platform, or your own implementation.

CapabilityWhat it does in the service
Incident intakeSelects eligible work, preserves tenant and incident identity, and prevents duplicate runs.
Investigation toolsRetrieve incidents, query relevant evidence, and return explicit results or errors.
Context and skillsSupply business context and reusable investigation methods.
Agent runtimeRuns the investigation with bounded time, tool access, and resource use.
Shared case recordKeeps evidence, findings, gaps, analyst decisions, and action status together.
Response controlsValidate targets, permissions, approvals, and execution conditions.
Quality monitoringShows whether the work is accurate, useful, timely, and within budget.

An MCP connection supplies tools. It does not, by itself, supply queue ownership, case handling, approval procedures, or service monitoring. Include those in the design from the beginning.

Keep the investigation state outside a single model conversation. If a run stops, an analyst or another run needs to know what completed, what remains unresolved, and whether an action already executed.

Which Agent Approach Fits Microsoft Sentinel?

Building an agentic SOC does not require writing every component yourself. Choose the combination that fits your workflows and the engineering capacity available to maintain them.

ApproachWhere it fitsWhat your team must establish
Use Microsoft’s agentsA supported built-in scenario matches the work you want to automate.Licensing, supported alerts, identity, configuration, review, and operational ownership.
Build in Security CopilotYou need a custom workflow using its supported tools and development experience.Agent instructions, manifest, triggers, permissions, tests, deployment, and capacity.
Connect an agent platformYou need broader orchestration, case handling, or investigations across Microsoft and other tools.Supported integrations, evidence handling, execution controls, auditability, and operating responsibilities.

These approaches can coexist. A native phishing agent may handle an eligible scenario while another workflow investigates custom Microsoft Sentinel incidents or follows evidence into an independent business application.

Use Microsoft Agents Where They Fit

Microsoft provides several distinct capabilities:

Security Alert Triage Agent

Email and collaboration triage, including supported phishing alerts, is generally available. Cloud and identity expansion remains documented as preview. Check the supported alert list and product prerequisites.

Dynamic Threat Detection Agent

Looks for missed threats across Defender and Microsoft Sentinel signals and generates dynamic alerts. Its dedicated documentation currently labels it public preview.

Security Analyst Agent

Provides on-demand analysis over supported Defender, Microsoft Sentinel, or lake data. Its documentation is prerelease, and it is configured per user.

Threat Hunting Assistant

Supports interactive hunting, query generation, interpretation, and follow-up investigation.

These capabilities do not all process the same queue or have the same authority. Use the current product documentation and your tenant configuration to establish what each one will actually do.

Microsoft’s integration is strongest across its own stack, but an incident may require other evidence to reach a conclusion. Broader coverage assessment is covered in Augmenting Microsoft Sentinel.

What Should You Automate First?

Choose a workflow that is frequent enough to matter, familiar enough to review, and supported by the evidence already available. Examples include a particular identity alert, reported phishing, or an endpoint rule that repeatedly needs the same contextual checks.

Avoid starting with every incident type at once. Different classes need different sources, legitimate explanations, and escalation criteria.

Write a short workflow specification before configuring the agent:

DefineExample requirement
TriggerInvestigate a named alert class when an eligible incident is created.
ScopeOne tenant, specified workspaces, relevant entities, and an explicit time window.
Required evidenceSign-ins, directory changes, application activity, and any necessary endpoint records.
Questions to answerWho acted, what changed, whether it was authorized, and what happened afterward.
Stop conditionsMissing required evidence, conflicting findings, query failure, or a sensitive target.
OutputAn assessment with evidence references, gaps, and recommended next steps.
Initial authorityRecommend only, with closure and response decisions retained by analysts.

This specification becomes the basis for the agent instructions, tool design, and acceptance tests. It also gives analysts a consistent way to review the result.

Prepare Microsoft Sentinel Access

Test the workflow using the identity the agent will actually run under. A successful query in an administrator’s session does not establish that the deployed agent can retrieve the same evidence.

Check Data and Entity Mapping

Confirm that the required sources cover the relevant accounts, devices, event categories, and investigation period. A recent record proves some delivery, not complete coverage.

Validate account, host, IP address, and application mappings. Prefer stable directory and device identifiers where available. Application client IDs, application object IDs, and service principal object IDs are different identifiers and must be resolved correctly.

Add the context needed to interpret the activity: asset importance, privileged accounts, application owners, approved tools, and change windows. Give exceptions an owner and review date.

Separate Read, Write, and Response Rights

For a custom integration, grant the query permissions needed and add incident-update permissions only when required. Log Analytics Reader and Microsoft Sentinel Responder serve different purposes. A read-only investigator does not need incident write authority.

Defender response and Microsoft Graph actions require separate permissions. Access to a workspace does not authorize endpoint isolation, session revocation, or directory changes.

Security Copilot roles also do not replace underlying data permissions. Its agent setup can use a dedicated supported agent identity or, for some scenarios, a user account. Avoid making a shared administrator account the dependency for unattended work.

Record the allowed tenants and workspaces in the execution configuration. Do not let an account name or instruction inside an alert choose the authorization scope.

Connect Microsoft Sentinel Tools

The agent needs tools that can retrieve the evidence required by the investigation. Use supported APIs, query interfaces, and Microsoft Sentinel MCP collections according to the operation.

Start with a small tool set:

  • Retrieve the incident, its alerts, and mapped entities.
  • Discover the relevant schema when necessary.
  • Run scoped evidence queries.
  • Retrieve approved context and earlier findings.
  • Attach the assessment and evidence to the case.
  • Prepare response requests through a separate controlled interface.

Keep tenant, workspace, incident, and source identifiers in the results. Preserve the distinct identifiers used by Microsoft Sentinel and Defender when records are synchronized.

Build Tools Around Clear Questions

A tool should state what it returns and the inputs it accepts. A sign-in tool might accept one identity and a bounded time range, then return matching records, the searched scope, and completion status.

Return errors, partial results, pagination, and truncation explicitly. The agent must be able to distinguish no matches from an incomplete search.

For common checks, reviewed parameterized queries can reduce query-writing variation. They still need tests for the selected identifier, supplied parameters, and interpretation of the result.

Use the Right MCP Collection

Microsoft Sentinel provides hosted MCP tool collections using Entra authentication. Collection capabilities and permissions differ.

The triage collection works in the home tenant, without guest or delegated access, cannot select a workspace, and does not query the lake. Its capabilities have preview documentation. Do not assume it supplies the same access path as a custom integration using Azure Lighthouse.

Data exploration tools support lake exploration and entity analysis. Entity analyzer can assess supported users or URLs, consumes SCUs, and can incur underlying query charges. Graph-related capabilities have their own availability and preview limits.

Custom MCP tools, currently in preview, can expose saved advanced hunting and lake queries with parameters. Documented creation roles include Security Operator, Security Administrator, and Global Administrator; invocation supports Security Reader and Global Reader. A default workspace hint is not an authorization boundary.

For an external agent host, verify where retrieved evidence and model requests are processed. The Microsoft Sentinel workspace region does not establish the processing location of every connected service.

Build the Investigation Workflow

The workflow should let the agent adapt its questions while keeping the required checks and boundaries clear.

1. Select and Retrieve the Incident

Use an appropriate supported trigger, integration, or polling process. Select the intended alert class and retrieve the original incident and entities.

Use a stable run key incorporating the tenant, workspace, and incident identity. An incident update or retried notification should not start another independent investigation by accident. Also prevent the agent’s own comments or tags from repeatedly retriggering the workflow.

2. Establish Scope and Data Readiness

Confirm the investigation window and required sources. Check whether the evidence is accessible and whether important collection gaps exist.

If a required source is unavailable, record the reason and follow the workflow’s escalation rule. Do not silently replace a failed query with an assumption that nothing happened.

3. Follow and Challenge the Evidence

Run the required checks, then pursue relevant findings. A suspicious sign-in may lead to authentication changes, application grants, mailbox access, or activity on an endpoint.

Test legitimate explanations too. A new application credential can be an approved rotation; an unusual administrative tool can be part of maintenance. Use the supporting records and owner context to establish which explanation fits.

4. Produce a Reviewable Assessment

Separate established facts, interpretation, and unresolved questions. Reference the records supporting important conclusions and retain the query text, scope, and execution outcome.

An inconclusive assessment is appropriate when missing evidence could change the decision. It should explain what an analyst needs to resolve, with the completed work available for review.

5. Hand Off or Prepare Action

Route the case to the responsible analyst or prepare the permitted response plan. Keep action preparation separate from authorization to execute.

A plan should identify the target, reason, scope, expected impact, and recovery procedure. Its status should distinguish proposed, approved, submitted, completed, and failed actions.

The underlying agent components are explained further in AI SOC Agents.

Add Skills and Shared Context

Reusable skills capture the team’s investigation methods. They should define the questions to answer, mandatory checks, useful tools, evidence requirements, and circumstances requiring escalation.

Keep skills versioned alongside tool definitions and policies. Record the deployed version with each investigation so results can be traced after a change.

Context should have a source and an age. Approved activity, privileged identities, application ownership, and earlier cases can improve an assessment, but stale or unrelated context can also produce a wrong conclusion.

Historical records and graph relationships support further investigation. A graph edge shows a relationship, not proof that an attacker used it. A thirty-day baseline is meaningful only if the required evidence exists for that period.

Confirm the query route for older lake records rather than assuming every advanced hunting query searches the entire retention period.

Feedback needs review before becoming general guidance. Microsoft’s documented feedback learning for the triage agent currently applies to email and collaboration alerts; do not assume every agent automatically learns from every correction.

Keep Playbooks in the Design

Agents and playbooks perform complementary work. An agent can decide which evidence to check next, while an established workflow carries out routing, notification, approvals, and response steps.

WorkUseful implementation
Route and assignAutomation rules with clear conditions.
Investigate unfamiliar activityAn agent with appropriate evidence tools and investigation guidance.
Execute an established procedureA tested playbook or action service with defined inputs and permissions.
Authorize material actionAn approval and policy check enforced in the execution path.

Microsoft’s AI playbook generator, generally available since May 2026, can help create Python-based playbooks through conversation. Generated workflows still need testing and access review.

Use the same execution checks whether a request comes from an agent or a person. The wider comparison is covered in AI SOC vs SOAR.

Control Closure and Response

An agent can investigate independently while still requiring approval to close an incident or change a production system. Configure those permissions separately.

Useful operating levels are:

Recommend only

The agent investigates and proposes the outcome. A person decides and acts.

Approval required

The agent prepares a specific action for an authorized person to approve.

Execution within approved limits

A defined action can run when its eligibility and policy conditions are satisfied.

These describe the operating design, not one universal Microsoft setting. Implement the corresponding boundaries across the agent identity, tools, runtime, and response workflow.

ActionPractical starting pointWhat to resolve before execution
Revoke sessionsRecommend or require approvalCorrect identity, exclusions, impact, and token coverage. Revocation is not a reversible switch and may not end all access immediately.
Remove an inbox ruleRequire approvalExact rule, preserved evidence, ownership, and legitimate forwarding requirements.
Block a senderRequire approval initiallyAddress or domain scope, affected users, duration, exceptions, and removal process.
Reset a passwordRequire approvalUser verification, dependencies, authentication environment, and recovery.
Isolate a deviceRequire approvalDevice identity, criticality, operational impact, remote access, and release procedure.
Disable an accountRequire approvalService dependencies, privileged access, emergency access, and restoration ownership.
Remove an app credentialRequire approvalExact credential, integration owner, impact, and replacement procedure.

Approval should apply to the specific target and plan presented. Recheck the current state before execution, suppress duplicate requests, and verify the outcome afterward. An accepted API request is not the same as completed containment.

Test stop controls too. Disabling the agent may not cancel a running playbook or revoke an action identity. Operators need to know how to stop pending work and return affected cases to manual handling.

Do not use a confidence number alone as authority to close or contain. The evidence requirements, target eligibility, and execution policy still need to be satisfied.

Plan Agent Capacity

Plan for investigation demand, tool limits, and the people handling exceptions. Capacity is part of the service design rather than a check after deployment.

Security Copilot uses Security Compute Units, or SCUs. Eligible Microsoft 365 E5 and E7 tenants receive 400 monthly SCUs per 1,000 paid user licenses, scaled for smaller tenants, up to 10,000 monthly SCUs. The allowance is shared across Copilot experiences and agents, with no rollover. Confirm tenant provisioning.

Purchased provisioned capacity follows a different model: hourly billing and refresh in fixed clock-hour blocks, with unused capacity expiring. Configured overage can cover additional consumption within its limit. Microsoft’s inclusion documentation describes future throttling and optional pay-as-you-go arrangements; verify the rules active for the tenant.

For illustration, 2,000 eligible licenses provide 800 monthly SCUs. Dividing that across 4,000 alerts leaves 0.2 SCU per alert before other use. This is budget arithmetic, not a per-investigation benchmark.

Measure completed investigations, failures, retries, and analyst follow-up alongside usage. Reserve capacity for complex cases and demand spikes. Include separate lake queries, graph operations, Logic Apps, and agent-specific commercial charges.

For supported delegated Security Copilot scenarios, Lighthouse uses partner capacity, while GDAP and B2B use client capacity. Access and workload support differ.

Set query, runtime, and concurrency limits around the tools actually used. When a limit prevents completion, the case needs a visible referral or retry state. Detailed data pricing is covered in Microsoft Sentinel Cost Optimization.

Test Before Production

Test the complete workflow, not just whether the model gives a plausible answer. It needs to select appropriate tools, retrieve valid evidence, reach a supportable assessment, and respect execution boundaries.

Use representative cases

Include confirmed attacks, convincing benign activity, reopened incidents, and cases analysts disputed. Review the labels rather than treating every old closure as ground truth.

Prevent hindsight

Hide closing notes and later events that reveal the answer. Give the agent the evidence available at the point being tested, and keep a separate set outside tuning.

Check evidence quality

Define the facts the agent must establish and the unsupported conclusions it must avoid. A correct label based on invented evidence fails the test.

Break dependencies

Test expired credentials, missing tables, permission denials, delayed records, partial results, and throttling. Confirm that these conditions cannot silently produce a benign closure.

Test hostile content

Place harmless instruction attempts in attacker-controlled fields and tool results. Verify that they cannot change permissions, bypass approval, or redirect evidence.

Test actions separately

Validate targets, exclusions, approval scope, retries, outcome checks, and recovery on controlled assets.

Repeat important cases to expose variation between runs. Re-run the test set after changes to models, skills, tools, permissions, or schemas.

Microsoft’s custom-agent testing experience helps inspect execution and tool behavior. Build-time validation and tuning scores do not replace security acceptance testing.

MeasureQuestion it answers
Malicious-case detectionAre confirmed attacks identified or escalated appropriately?
Closure qualityAre cases proposed for closure safe to close under the policy?
Missing-data handlingDoes the agent recognize when it cannot establish an answer?
Evidence validityDo cited records support the claims and belong to the correct scope?
Action safetyAre authorization, target selection, and execution results correct?
Operational valueHow much manual work remains, and what time and capacity does the result require?

Report results by workflow and include sample sizes. High agreement across a largely benign queue can hide missed attacks, while escalating everything can deliver little useful automation.

Example: Build a Credential Investigation

Consider an incident where a new client secret is added to an application with permission to read mail across the tenant. The workflow must establish who added it, whether it was used, and whether the activity was authorized.

The following starter queries illustrate evidence tools an agent could use. They require local validation and do not establish compromise by themselves. The IP addresses are documentation examples.

1. Resolve the Change

Retrieve the original audit record. Confirm the actor, operation, timestamp, target type, and changed credential metadata. Resolve the application and its service principal before moving between tables.

Keep the application client ID, application object ID, and service principal object ID distinct. A wrong identifier can produce an empty query that looks reassuring.

2. Check the Administrator

This query connects successful credential-management activity with preceding risky sign-ins by a user account.

// Starting point: credentials added to apps or service principals // by a user who had a risky sign-in in the previous 24 hours. let lookback = 7d; let riskySignIns = SigninLogs | where TimeGenerated > ago(lookback) | where RiskLevelDuringSignIn in ("medium", "high") | project RiskyTime = TimeGenerated, UserPrincipalName, RiskyIP = IPAddress, RiskLevelDuringSignIn; AuditLogs | where TimeGenerated > ago(lookback) | where OperationName has_any ("Add service principal credentials", "Certificates and secrets management") | where Result == "success" | extend Actor = tostring(InitiatedBy.user.userPrincipalName) | extend TargetName = tostring(TargetResources[0].displayName), TargetId = tostring(TargetResources[0].id) | where isnotempty(Actor) | join kind=inner riskySignIns on $left.Actor == $right.UserPrincipalName | where TimeGenerated between (RiskyTime .. (RiskyTime + 24h)) | project TimeGenerated, Actor, OperationName, TargetName, TargetId, RiskyTime, RiskyIP, RiskLevelDuringSignIn 

Suppose it returns a medium-risk sign-in forty minutes before the change. Check the original events and establish separately whether the address is new for that user.

The query can join several sign-ins to one change, inspects the first target resource, and excludes non-user actors. Validate audit operation names and review approved changes, authentication details, and the administrator’s responsibilities.

3. Check Application Activity

Use the service principal object ID to look for activity from unfamiliar source addresses.

// Starting point: service principal sign-ins in the last day // from IP addresses it did not use in the previous 30 days. let spId = "00000000-0000-0000-0000-000000000000"; // object ID from the incident let knownIPs = AADServicePrincipalSignInLogs | where TimeGenerated between (ago(30d) .. ago(1d)) | where ServicePrincipalId == spId | distinct IPAddress; AADServicePrincipalSignInLogs | where TimeGenerated > ago(1d) | where ServicePrincipalId == spId | where IPAddress !in (knownIPs) | summarize SignIns = count(), Resources = make_set(ResourceDisplayName), FirstSeen = min(TimeGenerated), LastSeen = max(TimeGenerated) by IPAddress, ResultType, Location 

This includes successful and failed sign-ins and does not identify which credential was used. Its baseline describes the available records in the selected period, not every address the application has ever used.

Inspect original outcomes and, where populated, ServicePrincipalCredentialKeyId. Establish whether the new credential was used, then review the resource and subsequent activity. A Graph sign-in alone does not prove that mail was read.

4. Corroborate the Finding

Review relevant workstation process and logon evidence, using network records for connection questions. No match in DeviceProcessEvents or DeviceLogonEvents does not establish the absence of network activity or prove token theft.

Confirm the change with the application owner. An unapproved credential, successful use of the matching key, and corroborating abusive activity provide a stronger basis for a malicious verdict. Keep the case open or escalate when those questions remain unresolved.

5. Record and Respond

The record below assumes corroborating checks beyond the two starter queries. It demonstrates a compact output format, not the complete evidence required for its conclusions.

incident     New client secret on mail-reading app verdict      malicious, confidence high technique    T1098.001 Additional Cloud Credentials evidence     AuditLogs: secret added by the admin account at 09:42 UTC SigninLogs: medium-risk sign-in from 203.0.113.45 at 09:02 UTC, first seen for this user AADServicePrincipalSignInLogs: Graph sign-in from 198.51.100.23 at 09:47 UTC, first seen in 30 days DeviceLogonEvents: no link from the admin workstation to either IP queries      4 run, each stored with its text, time range, and row count gaps         none, all required tables reported within the last 15 minutes actions      revoke user sessions: done (act within limits) remove new client secret: awaiting approval reset user password: awaiting approval review Graph activity by the app: recommended review       analyst accepted the verdict and approved the secret removal 

The no-gap claim requires validation of event categories, relevant assets, and the full search window. Recent table activity alone is insufficient. The device observation is supporting context, not proof of credential theft.

Session revocation is explicitly pre-authorized in this example, while credential removal requires approval. Revoking the user’s sessions does not invalidate an application secret. Contain the application credential separately, preserve its metadata, and check the application’s wider access.

Monitor Agents in Production

Production monitoring needs to show whether investigations remain accurate and useful, not only whether the agent is available.

For every workflow, retain enough information to review:

  • The selected tenant, workspace, incident, and time window.
  • Queries, tool results, failures, partial responses, and retries.
  • Evidence references, assessment, gaps, and proposed actions.
  • Approvals, execution results, and analyst changes.
  • Deployed agent, skill, tool, and policy versions where available.
  • Runtime and capacity consumption.

Check claims against captured results. Re-running an ago() query later changes its time window, and source records can change or expire. Preserve the original evidence needed to evaluate the conclusion.

Compare closure and escalation outcomes by alert class, source coverage, and deployed version. Investigate changes before treating a higher closure rate as an improvement.

Watch for Manipulation and Failure

Alert content, emails, logs, filenames, and retrieved records are untrusted evidence. Instructions found in them must not determine authorization or execution policy.

The query below can identify some instruction-like text for review. It is a heuristic, not a prompt-injection detector or a control that makes an agent safe.

// Starting point: instruction-like text in fields attackers control. // Run in Defender advanced hunting; extend the phrase list for your environment. let phrases = dynamic(["ignore previous instructions", "ignore all prior", "mark as benign", "classify as false positive", "close this incident", "system prompt"]); union isfuzzy=true (EmailEvents | where Timestamp > ago(7d) | where Subject has_any (phrases) | project Timestamp, Field = "EmailEvents.Subject", Value = Subject, Entity = RecipientEmailAddress), (SigninLogs | where TimeGenerated > ago(7d) | where UserAgent has_any (phrases) | project Timestamp = TimeGenerated, Field = "SigninLogs.UserAgent", Value = UserAgent, Entity = UserPrincipalName), (DeviceProcessEvents | where Timestamp > ago(7d) | where ProcessCommandLine has_any (phrases) | project Timestamp, Field = "DeviceProcessEvents.ProcessCommandLine", Value = ProcessCommandLine, Entity = DeviceName) | sort by Timestamp desc 

Legitimate security discussions can match, while many injection attempts will not. Check table availability and query warnings: union isfuzzy=true can return results from available sources while others remain unresolved.

Monitor source and context freshness, query failures, timeouts, budget exhaustion, and waiting cases. Failed searches must not be recorded as no matches.

Tool-specific limits also matter. Entity analyzer has documented hourly, daily, and concurrency limits; triage tools inherit relevant API quotas. Give unfinished work an owner and a clear next step.

Review Quality and Improve the Workflow

Review a random sample of closures alongside a separate targeted sample of high-risk or uncertain cases. Record how the samples were selected and avoid treating a targeted sample as an estimate of the whole queue’s error rate.

Track time to a usable assessment, analyst effort, escalation delay, incorrect closures, missed escalations, and action failures. Include unfinished investigations in reporting rather than measuring only successful runs.

Assign an owner to pause affected automation when required evidence fails or quality drops below agreed criteria. Review pending cases and validate the corrective change before restoring the workflow.

Expand Beyond the First Workflow

Once the pilot is reliable, add the next alert class or evidence source while retaining the same review process. Reuse validated tools and skills, then adapt the required checks and escalation rules to the new workflow. Test again after changes to a model, source schema, or execution policy.

Expand into hunting, detection proposals, and reporting as the team gains experience. These workflows can use the same evidence and shared methods while keeping their own permissions and acceptance criteria. Detection engineers review proposed rules, hunters assess findings, and incident responders direct material containment.

Track whether the expansion reduces backlogs, improves investigation coverage, and gives analysts more time for difficult cases. Increase autonomy only where the results support it, and reduce it when quality or operational conditions change.

Build With ThreatDefence

ThreatDefence runs AI agents on your Microsoft Sentinel and Defender incidents, alongside your existing Microsoft tools, with a 24x7 SOC behind them. Access uses a service principal with Log Analytics Reader and Microsoft Sentinel Responder, assigned by your Owner or User Access Administrator.

Agents investigate Microsoft and non-Microsoft sources in the same case, close known-benign alert classes under your policies, and escalate the rest with the investigation completed. You choose the autonomy level for each response action, from session revocation to host isolation. Telemetry is treated as untrusted evidence, so instructions planted in alerts or logs do not grant agents additional authority. Data and AI processing stay in your region.

In one example, an agent covered six sources in eight steps and reached a verdict in 38 seconds, for about two cents and about 90 seconds of analyst review. These figures describe that example, rather than a guaranteed investigation time or Security Copilot SCU rate.

A free Microsoft Sentinel cost and coverage review identifies suitable agent workflows, coverage gaps, and opportunities to reduce data costs, typically by 50 to 70% in most environments.

AI investigationagent queries on the record
HighEncoded PowerShell launched from Outlook
siem.searchprocess.parent=outlook.exe host=ACM-FIN-07
siem.searchdns.question host=ACM-FIN-07 last 2h
intel.lookupxk2f9a.badcdn.net
siem.searchuser.name=j.smith sign-ins last 7d
siem.searchsmb.dest from ACM-FIN-07 last 2h
case.attach4 events, 1 indicator, process tree
edr.isolateACM-FIN-07 (pending approval)
Assessment

Macro in invoice.docm launched encoded PowerShell, which resolved a domain first seen today and opened SMB to a database server. Same pattern on no other host.

VerdictTrue positive
Confidence92%
Sources queried5

See It in Action

    I'm an MSP, MSSP, or reseller

    By submitting this form, you accept the terms in our privacy policy.

    Frequently Asked Questions

    Is Security Copilot required for an agentic SOC on Microsoft Sentinel?

    No. Microsoft’s Security Copilot agents use its capacity, but an approved external runtime can use Microsoft Sentinel APIs, query interfaces, and supported MCP tools. Individual tools may still consume SCUs or incur other charges. Check the complete workflow.

    Does Microsoft 365 E5 include Security Copilot agents?

    Eligible E5 and E7 tenants receive included capacity through Microsoft’s rollout. This does not automatically activate every agent or supply every workload license. Phishing triage, for example, requires Defender for Office 365 Plan 2. Confirm tenant provisioning and agent prerequisites.

    Can AI agents write Microsoft Sentinel analytics rules?

    Agents can draft rules where their tools support it. Review the logic, source dependencies, and test results before authorizing deployment. Production rule creation requires separately controlled write access.

    Do agents replace Logic Apps playbooks?

    No. Agents can investigate and prepare a response while playbooks execute established procedures. Keep permissions and approvals enforced in the execution path.

    Which roles should an AI agent have in Microsoft Sentinel?

    Grant the roles its tools require at the narrowest practical scope. A custom integration may need Log Analytics Reader for queries and Microsoft Sentinel Responder for incident updates. Defender, Graph, Copilot, and MCP permissions require separate assessment.

    Can agents query data in the Microsoft Sentinel data lake?

    Yes, using supported query interfaces and data exploration tools with the required access. Confirm the available tables, historical window, query limits, and charges. Do not assume every advanced hunting query searches older lake records.

    Can the Microsoft Sentinel MCP server be used across tenants?

    Support depends on the collection and access path. The triage collection is restricted to the home tenant without guest or delegated access. This differs from supported Security Copilot scenarios using Azure Lighthouse. Validate the proposed tools and identities directly.

    How many SCUs does an agent run use?

    There is no universal figure. Measure usage by workflow, including retries and complex investigations, through Security Copilot’s usage records. Budget separately for underlying queries and supporting services.