NexlinksField Notes from a CTO & CISO
Menu
Practical perspectives on Microsoft technology. Read the November 2026 newsletter ↗

PRACTITIONER ARTICLE / Security

Demoing Defender XDR When Your Tenant Has No Alerts

Create incident stories for Defender XDR walkthroughs with a beta PowerShell tool, then explore the queue, attack story, preview mode and cleanup limits.

Published
By Phil Kinsley
In this article

I'm often asked how to demo Defender XDR in a demo environment when there are no security alerts, so I created Defender XDR Story Seeder.

An empty incident queue gives you very little to work with when explaining an investigation. You can point out menus and describe what an analyst would do, but it is much easier to have an incident to open, related alerts to examine and an attack story to discuss.

The tool creates that demonstration material directly in the Defender portal. It is currently v0.1.0-beta, intended for authorized lab and demonstration tenants. It gives you records to walk through without building a fleet of endpoints or deliberately carrying out attacks to generate alerts.

Defender XDR Story Seeder documentation and source are available on GitHub, alongside my other community tools.

What you get in the portal

The default run creates 50 incidents containing 549 manual alerts, with 10 to 12 alerts in each incident. The catalog covers email, identity, endpoint, cloud-app and hybrid scenarios, with different severities and a mixture of active and resolved incidents.

The screenshot below shows the kind of queue you can use for a session: directory replication credential theft, lateral movement, suspicious exclusions and other recognizable investigation topics. These are seeded incident stories. Their names do not mean the tool performed those attacks or that Defender detected them.

Defender incident queue showing seeded attack stories, severity, impacted identities and assets, and ten to twelve alerts per incident.
Seeded incident queue from the project README. The incident names and linked alerts provide material for demonstrations; these are not detections generated by carrying out the named attacks.

That gives the audience something specific to discuss. Which incident would you open first? What does severity tell you, and what else would you want to know before deciding who should investigate? I would use those questions to start the walkthrough rather than spend the session reading out product features.

How the incident stories are built

The PowerShell scripts use Microsoft Graph's beta manual-alert API. The first alert establishes an incident, and subsequent alerts are linked to that incident to build the story. Microsoft documents this behavior through the API's linkToIncident property.

The tool associates enabled member identities from the tenant with fictional endpoint and mailbox evidence. It also includes related IP addresses, URLs and files. A local run manifest records the objects created so you have a record to inspect if a run stops partway through.

Defender attack story for a seeded exclusion incident, with linked alerts and a graph connecting a user, endpoint, IP addresses, URLs and files.
Attack-story view from the project README, showing twelve linked alerts and an incident graph. Fictional endpoint evidence does not create an onboarded device.

Here, the attack story brings together twelve linked alerts and an asset graph. For a demonstration, that is enough to explain how to move from the incident into its alerts and examine relationships between the entities. It does not establish that the relationships were independently discovered from endpoint or mailbox telemetry.

The distinction matters when showing the product to someone who is new to it. Explain what was seeded before opening the incident, then use the view to discuss how an analyst would work with actual evidence.

Supporting reference: Microsoft: create a manual alert (beta) ↗

Start with a preview and a small run

You need PowerShell 7.2 or later, a tenant with Defender XDR access, and an account with the required delegated Graph permissions and supported security role. The README lists the permissions separately for seeding and cleanup. The launcher installs Microsoft.Graph.Authentication for the current user if it is missing.

After downloading and inspecting the package, I would start with the underlying script's offline preview. From the extracted project directory:

$demoUpn = Read-Host 'Demo account UPN'
pwsh -File ./Invoke-DefenderBulkSeeder.ps1 `
  -GlobalAdminUpn $demoUpn `
  -IncidentCount 10

Without -Execute, this script shows the plan without signing in or changing the tenant. Review the incident names, severities and alert counts before continuing.

When ready to create a smaller dataset, the launcher provides the interactive path:

pwsh -File ./Start-DefenderBulkSeed.ps1 `
  $demoUpn -IncidentCount 10

The launcher creates records after its confirmation; it is not the offline preview. Omitting -IncidentCount from the launcher uses the full 50-incident default. Read the displayed confirmation and make sure you are signing in to the intended tenant.

Despite the parameter name GlobalAdminUpn, the documented write operations support Security Operator or Security Administrator. The account still needs the relevant delegated permissions and consent. Do not assume that a demonstration requires a Global Administrator session.

How I would use it in a demonstration

I would pick one incident before the session and keep the discussion focused on the analyst's decisions. Start in the queue, explain why you selected it, then open the related alerts and attack story.

Ask the audience what they would investigate next. Is the identity familiar? Which asset needs attention? What additional evidence would they need before containing a device or disabling an account? The seeded story gives people a common example without pretending it supplies everything needed for a real response.

It can also support a discussion about ownership and handoff: who takes the incident, what they record and when they involve another team. For a beginner audience, I would stay with navigation and triage. With experienced analysts, I would spend more time on the gaps between the seeded evidence and the telemetry they would expect in a real investigation.

What this does not demonstrate

Manual alerts appear with Microsoft-controlled product attribution, described in the project documentation as Microsoft Defender XDR / Manual. The tool cannot make them genuine Defender for Endpoint, Defender for Identity or Defender for Office 365 detections.

The fictional endpoints appear in incident evidence; they are not onboarded devices in the tenant-wide device inventory. The fictional mailbox evidence does not create Exchange mailboxes. There is no requirement for Microsoft Sentinel, but that does not make this a Sentinel demonstration either.

Use a separate exercise if you need to validate sensor health, detection coverage, automatic correlation or response actions against a real workload. This tool supplies investigation material for a walkthrough. It does not prove that your security controls will detect or contain the scenario named in an incident.

The manual-alert API is also beta. Microsoft states that beta APIs can change and are not supported for production applications, which is another reason to keep this work in an authorized lab.

Cleanup closes records, not history

The cleanup script identifies matching seeded manual alerts, resolves them and closes eligible incidents when no unrelated active alerts remain. It does not delete the records from Defender history. Plan for that before filling a tenant you need to keep pristine.

Preview the cleanup with the underlying script:

pwsh -File ./Invoke-DefenderBulkCleanup.ps1 `
  -GlobalAdminUpn $demoUpn

For the interactive cleanup path:

pwsh -File ./Start-DefenderBulkCleanup.ps1 $demoUpn

Read the proposed scope before confirming. Cleanup matches catalog titles and is not limited to the objects in one run manifest, so review it carefully if other people have seeded the same tenant. The underlying script also exposes an -AllManualAlerts option that can include unrelated demonstrations; it is not something I would use as routine cleanup.

Keep the run manifests private. They can contain tenant identifiers, user names, incident IDs and portal links, even though the endpoint and mailbox stories are fictional.

My reason for building this was straightforward: an empty portal makes it difficult to explain incident investigation. Having a set of recognizable stories lets the session spend more time on the decisions people need to make, while leaving real detection testing to an exercise designed for that purpose.

Primary source

Defender XDR Story Seeder: documentation and source ↗

Further sources

Microsoft: create a manual alert (beta) ↗

Microsoft: update an alert ↗

Continue reading

Can the Defender XDR Story Seeder Demonstrate AI Agent Risk? ↗

Deploying Microsoft Defender for Endpoint: Configuration, Validation, and Mistakes to Avoid ↗

A modern security operating model for Microsoft environments ↗