Security Copilot EssentialsIntermediate18 min

Security Agents and the Agentic SOC

Choose Microsoft's ready-made security agents by signal, supervise what they return, build your own with a safe-failure boundary, and map a realistic path to the SC-200 or SC-500 exam.


What you'll learn

  • Choose a security agent using the signal, owning workload, and documented purpose
  • Factor Preview status and prerequisites into an agent decision
  • Supervise an agent's output with a repeatable review before acting
  • Build a custom agent as a contract with a safe-failure boundary
  • Map a realistic path toward the SC-200 or SC-500 certification
On this page

A session follows an analyst's questions. A promptbook repeats a sequence. An agent can continue a bounded task under configured permissions and triggers, such as triaging an alert, drafting a briefing, or evaluating a policy. That makes first-pass work easier to delegate. It also gives an unsupported conclusion more room to travel before a person sees it.

This lesson covers four practical decisions: which ready-made agent fits the signal, how to review its output, how to constrain a custom agent, and how guided practice relates to SC-200 or SC-500 preparation.

Choose agents by signal and evidence

Microsoft ships fifteen security agents across four workloads. Selection is a routing job. Walk the signal to the agent:

  1. Signal: the alert, risk, or condition that needs attention.
  2. Scope: the workload and records that own the relevant evidence.
  3. Agent: the prebuilt capability whose documented purpose matches the signal.
  4. Output: the supported result category, such as a classification, a briefing, a recommendation, or a risk assessment.
  5. Control: the human review or approval required before anything changes.

The fifteen agents cluster by the product that owns their evidence:

Workload Agents Focus
Defender XDR 5 Alert triage, threat intelligence, hunting, incident response, emerging threats
Microsoft Entra 2 Conditional Access and identity risk
Microsoft Intune 4 Change review, device lifecycle, policy configuration, vulnerabilities
Microsoft Purview 4 DLP and insider-risk triage, data-security posture

Start from the signal, name the workload that holds the evidence, then find the agent whose documented purpose fits, and only then think about how it launches. "Threat hunting," "security analyst," and "dynamic threat detection" all sound like threat work, but their documented purposes differ, and choosing by the closest-sounding name is how you point the wrong tool at a problem.

Write the signal before you pick the agent

Describe the condition in one sentence, name the workload that owns the evidence, then match the documented purpose. Picking an agent because its name resembles the problem skips the two steps that determine whether it fits.

Availability is part of the choice

A purpose match isn't enough if the scenario isn't available in your tenant. Two agents are the most solid ground to learn on because their status is verified. The Security Alert Triage Agent classifies and triages supported alerts with a natural-language rationale. Its email and collaboration scenario is generally available and requires Defender for Office P2, while its cloud and identity scenarios are Preview with their own prerequisites. The Conditional Access Optimization Agent evaluates whether users, applications, and agent identities are covered by Conditional Access policies and produces policy-review reports. It's generally available, with activity-based runs and ServiceNow ticket creation in Preview.

Others carry Preview labels: the Threat Intelligence Briefing Agent (Public Preview since July 2025), the Security Analyst Agent (Public Preview since April 2026), and the Identity Risk Management Agent among them. A Preview label doesn't tell you an output is wrong. It tells you the scenario may change and that your readiness check has to account for it. When your own evidence doesn't establish an agent's status, the honest record is "status not established," not an assumption that it's generally available. Availability, prerequisites, and Preview state belong in the selection decision from the start.

When status isn't established, say so

If you can't confirm an agent is generally available, don't assume it is. Record the documented status (GA, Preview, or "status not established") and its prerequisites. That single note stops a not-yet-shipped scenario from becoming a plan you can't execute.

Supervise every agent output

Review an agent's output as a claim that still needs a decision. Check that it stayed within the owning workload, performed the selected purpose, and returned a supported result such as a classification, briefing, or recommendation. It also needs to separate observed facts from unverified conclusions, leave escalation, closure, and remediation with a person, and record the correct availability and prerequisites.

Consider a phishing report with a macro-enabled attachment in an organization that has Defender for Office P2. It routes to the Security Alert Triage Agent, which should return an alert classification with rationale. An analyst compares that rationale with the email evidence and chooses the next step. Declaring the sender malicious solely because the attachment contains a macro would fail the evidence review. Claiming that remediation was complete would cross the human-control boundary. In either case, reject or revise the result before it enters the workflow.

Custom agents start from a contract

When no ready-made agent fits, define a custom agent as a testable contract. Specify its narrow task, allowed evidence, required output, prohibited claims and actions, and publishing scope. "Investigate failed sign-ins" leaves too much open. A usable contract might require the agent to summarize supplied sign-in evidence, separate input facts from tool facts, ask exactly three follow-up questions, label uncertainty, require analyst review, and never infer compromise or remediate.

Four construction paths are covered here. NL2Agent produces a draft from a natural-language description. Direct YAML gives you source that can be reviewed directly. MCP connects an approved external tool, so its data access and permissions become part of the agent boundary. Inventory what the tool exposes and reject it if that reach exceeds the task. Logic Apps places the analysis in an event-driven workflow. Begin at user scope with read-only behavior. Every response should distinguish input evidence, tool evidence, and inference. If a tool or Copilot call fails, the result must say that the analysis is incomplete.

A failed call is not a finished investigation

When an approved tool times out and returns nothing, the only honest response marks the tool unavailable, keeps the classification unknown, flags the analysis incomplete, and routes the case to an analyst, with no remediation. An agent that instead announces "the IP is malicious" has fabricated evidence, and that's the failure mode to design against.

Draft a custom agent from a contract· security-copilot
Bad example

Create a Failed Sign-In Investigator agent that investigates sign-ins and helps remediate problems.

Good example

Create an agent named Failed Sign-In Investigator. Given sign-in investigation data, summarize only supplied evidence and evidence returned by approved tools. Show which facts came from the input and which came from a tool. Identify missing context, ask exactly three follow-up investigation questions, and label uncertainty. Do not invent telemetry or interpretations. Do not disable accounts, change policies, or perform remediation. If an input or tool call fails, state that the analysis is incomplete and route the case for analyst review.

Why this works: A generated draft you review against the contract: checking that it requires exactly three questions, prohibits remediation, and introduces no tool you didn't approve, before you save it at user scope.

Separate input evidence from tool evidence· security-copilot
Bad example

Review these failed sign-ins and summarize what the input and tools show.

Good example

Review the failed sign-ins below. Return three labeled sections. Input evidence: only facts present in the supplied case. Tool evidence: only facts returned by an approved tool during this run, or "None." Inference: interpretations not established by either source, clearly marked as unproven. Ask exactly three investigation questions and state that no remediation was performed. User: [user] · Application: [app] · Window: [start–end UTC] · Source IP: [ip] · Attempts: [count]

Why this works: A response where every fact is traceable to the input or a named tool result, nothing is invented to fill a gap, and the uncertainty is stated rather than smoothed over.

The automation-safe analysis step· security-copilot
Bad example

Write the Security Copilot analysis step for our failed-sign-in Logic Apps workflow.

Good example

Review only the supplied failed-sign-in context and approved tool evidence. Return an evidence summary, the observed fields, missing context, exactly three investigation questions, provenance labels, and an uncertainty statement. Do not perform remediation. If required context or the Copilot call is unavailable, mark the analysis incomplete and require analyst review before any further step.

Why this works: An analysis instruction safe to drop into a Logic Apps workflow: on a complete input it produces a bounded, evidence-only brief, and on a failed call it marks the analysis incomplete instead of inventing a clean result.

Where do you practice and certify?

You can practice these habits without a licensed tenant. Microsoft's Experience Security Copilot through guided simulations is a fixed eleven-unit click-through covering owner settings, prompts and promptbooks, custom promptbooks, Purview and Defender XDR investigations, and agents including Conditional Access Optimization. It doesn't accept arbitrary prompts. Record only what each unit actually demonstrates.

SC-200 and SC-500 point to different kinds of work. SC-200 covers operating a security operations environment, responding to incidents, and threat hunting. Security Copilot appears within incident response. It fits analysts who investigate Defender XDR incidents and hunt in Sentinel. SC-500, the Cloud and AI Security Engineer Associate certification, is in beta as of mid-2026 and focuses more on deploying and operating security, including Security Copilot. Use the official study guide to check its current domains.

Completing a learning path shows exposure to the material. Readiness needs an artifact that you produced and checked against the current blueprint, such as an incident review that separates evidence from unknowns or a hunting-query worksheet whose tables and fields were validated. An unexecuted generated query doesn't demonstrate the skill.

Try it yourself

Make a timed-out agent tell the truth

The most important agent-safety skill is refusing to let a failed tool call become a confident answer. Write the correct response in five minutes.

  1. 01

    Set the scene: a custom failed-sign-in agent calls an approved, read-only tool to classify an IP address. The tool times out and returns no usable result.

  2. 02

    Now read what the agent said: "The IP is malicious, and the account is compromised." Name the two things wrong with that in one line each.

    Hint: One is fabricated tool evidence. The other is an unsupported inference promoted to a confirmed conclusion.

  3. 03

    Rewrite the response with these parts: input evidence, tool status (timed out), tool evidence (none returned), uncertainty (IP classification and compromise not established), analysis status (incomplete), and next step (analyst review).

  4. 04

    State the workflow outcome: the case is preserved, the error is recorded, it routes to analyst review, and no remediation was performed.

A response and workflow state that report an honest, incomplete investigation instead of a fabricated conclusion: the behavior a safe custom agent must guarantee when a tool fails.

Key takeaways

  • Choose a security agent by its signal, owning workload, and documented purpose. Similar names aren't enough.
  • Availability, prerequisites, and Preview status are part of the decision. "Status not established" is a valid, honest record.
  • Every agent output is a claim to supervise. The human keeps the decision to escalate, close, or remediate.
  • Build custom agents as a read-only contract, so a failed tool call produces an incomplete analysis instead of a fabricated one.
  • Readiness for SC-200 or SC-500 requires a validated, source-backed artifact. Course completion and an unexecuted query show less.

Check your understanding

  1. 1. A phishing report arrives with a macro-enabled attachment, and the organization has Defender for Office P2. Which agent fits, and what control must remain?

  2. 2. A custom agent's approved MCP tool times out and returns nothing, yet the agent states "the IP is malicious and the account is compromised." What happened, and what should the response have been?

  3. 3. You choose an agent because its name most closely matches the problem you're facing. What's the flaw in that approach?

  4. 4. Jordan investigates Defender XDR incidents and performs Sentinel hunts, and wants to certify. Which exam fits, and which counts as a readiness artifact?

  5. 5. Your evidence doesn't establish whether a particular agent is generally available or in Preview. What should you record?

Frequently asked questions

Terms used in this lesson

agent
A prebuilt or custom capability that performs a bounded security task under configured triggers, permissions, and identities.
Preview
A release status meaning a capability may still change. It requires extra validation but doesn't make an output wrong.
MCP
Model Context Protocol: a way to connect an external tool as a source of agent evidence, and therefore a provenance and permission boundary.
NL2Agent
The natural-language path that turns a plain-language agent description into a draft definition to review and test.
readiness artifact
Observable, source-backed, validated evidence that you performed and checked a task: the real measure of exam readiness.

Further reading