← All articles
Microsoft Defender for Office 365 · Step-by-step guide

Fix Missing Group Targets in Microsoft Defender Attack Simulation Training

Troubleshoot simulation targeting when ordinary Entra security groups do not appear, and choose an appropriate mail-enabled group model.

Why this matters

An organisation can plan a phishing simulation for a particular department or high-risk workforce group and discover that its existing Entra group cannot be selected. Incorrect targeting can leave intended participants outside the exercise and distort training coverage metrics.

This guide explains how to identify compatible group types and verify resolved membership through a controlled pilot before launching an authorised simulation.

PRACTICAL WALKTHROUGH

What you'll accomplish

Make an eligible group available for Attack Simulation targeting and verify its resolved membership without launching an unapproved simulation.

Before you begin

  • Defender for Office 365 Attack Simulation Training access
  • Permission to read Entra group properties and Exchange Online recipients
  • A small approved pilot group with test users

Verify the result: Confirm the pilot group appears in the Defender simulation picker and the resolved target count matches expected members.

Why an Entra group might be missing

If a security group exists in Microsoft Entra ID but is missing from Defender Attack Simulation Training, check its group type before troubleshooting directory replication. This guide explains how to identify supported target groups, inspect Exchange recipient properties and validate a harmless pilot selection.

The issue was not necessarily replication delay or an unsuccessful PowerShell command. The selected group type was the wrong fit for the feature.

Step 1 — Check supported group types

For Microsoft Defender for Office 365 Attack Simulation Training, Microsoft's documented group targeting options include Microsoft 365 groups (static or dynamic) and mail-enabled security groups (static). Ordinary non-mail-enabled Entra security groups are not interchangeable with those categories. Check the current Microsoft documentation for your specific simulation or training workflow, as features may differ.

Before automating thousands of memberships, verify that a newly created test group appears in the actual target-user selector. A successful New-MgGroup call only confirms the Entra object exists; it does not prove the feature can consume that group type.

Step 2 — Inspect the group and its mail-enabled state

Connect to Exchange Online for the mail-enabled option, and check the group properties and membership:

powershell
Connect-ExchangeOnline

Get-DistributionGroup -Identity "Simulation-Pilot-A" |
    Format-List DisplayName,PrimarySmtpAddress,RecipientTypeDetails,
                HiddenFromAddressListsEnabled

Get-DistributionGroupMember -Identity "Simulation-Pilot-A" |
    Select-Object DisplayName,PrimarySmtpAddress,RecipientType

If the lookup fails, the group may be an Entra-only object. Review its actual type in the Entra admin center or through Microsoft Graph and inspect its mailEnabled, securityEnabled and groupTypes properties.

Step 3 — Create a compatible pilot group when required

For a new test group in a tenant where your team has approved Exchange recipient management, an Exchange Online administrator can use:

powershell
New-DistributionGroup `
    -Name "Simulation-Pilot-A" `
    -Alias "simulation-pilot-a" `
    -Type Security `
    -PrimarySmtpAddress "[email protected]"

Replace the example address with a valid address in a domain owned by your tenant. This is illustrative; validate your RBAC, naming policies, mail hygiene and other tenant constraints. A mail-enabled security group is a real mail recipient, so evaluate whether it must be hidden from the address book and whether external senders should be blocked. Do not hide it from administrators responsible for reviewing its targeting membership.

Another option is a Microsoft 365 group when its membership, collaboration features and lifecycle policies are acceptable. The decision is not merely cosmetic: Microsoft 365 groups can create collaboration resources and associated governance requirements.

Step 4 — Verify the group in the target selector

After creating the correct group, allow directory synchronisation and service propagation as appropriate, then open Microsoft Defender → Email & collaboration → Attack simulation training. Create a harmless draft simulation, select the group, and confirm the resolved target count and membership. Keep a CSV of expected members to compare with the picker, and verify that guests and unsupported mailbox types are treated according to Microsoft's documented behavior.

Do not launch a real phishing simulation without training-owner approval and a communications plan. Removing a previously unsuitable group should also be reviewed for dependencies elsewhere in the tenant.

Automation pitfalls and rollback

Separate the automation into group creation, membership verification, feature compatibility testing and simulation assignment. Log errors and avoid recreating groups blindly. A good script should fail gracefully when the target-group type is unsupported rather than generating hundreds of objects that are unusable in the feature.

References