Configure scoped access for Microsoft Defender for Identity

Overview

As your organization grows, you need to control who can access which resources. Microsoft Defender for Identity scoping lets you focus monitoring on specific Active Directory domains or organizational units. Scoping reduces noise from data you don't need and helps you focus on critical assets. You can also limit visibility to specific entities so that access matches each person's role. To set up scoped access, create a custom role using Microsoft Defender unified RBAC. When you configure the role, you choose which users or Entra ID groups can access specific Active Directory domains or organizational units.

Prerequisites

Before you begin, make sure you meet the following requirements:

Configure scoping rules

To enable identity scoping, follow these steps:​

  1. Navigate to Permissions > Microsoft Defender XDR > Roles​.

    Screenshot showing the roles page in the Microsoft Defender portal.

  2. Select + Create custom role and follow the instructions in Create custom roles with Microsoft Defender unified RBAC.

    Screenshot showing the create custom roles button.

  3. You can edit the role at any time. Select the role from the list of custom roles and choose Edit.

    Screenshot showing how to edit a custom role.

  4. Select Add assignments and add the Assignment name.

    1. Under Assign users and groups, enter the usernames or Microsoft Entra ID groups you want to assign to the role.
    2. Select Microsoft Defender for Identity as the data source.
    3. Under Scope, select the user groups (AD domains or OU's) that will be scoped to the assignment. For an optimal experience, use the filter or search box. Screenshot of the scoped assignment page with a user group selected for the assignment.

    Screenshot of the custom scope creation page with options for defining a custom scope.

  5. Select Apply and Add.

Known limitations

The following table lists the current limitations and supported scenarios for scoped access in Microsoft Defender for Identity.

Note

  • Custom roles apply only to new alerts and activities. Alerts and activities triggered before a custom role was created aren't retroactively tagged or filtered.
  • The Exposure Management section in the Defender Portal is not visible to users with an MDI scope assignment.
  • Microsoft Entra ID IP alerts aren't included within scoped MDI detections.
Defender for Identity experience Scoping by OU's Scoping by AD domain
MDI alerts and incidents Available Available
Hunting tables: AlertEvidence+Info, IdentityInfo, IdentityDirectoryEvents, IdentityLogonEvents, IdentityQueryEvents Available Available
User page and user global search Available Available
MDI alerts based on XDR detection platform (detection source is XDR and service source is MDI) Available Available
Health issues Unavailable Available
Identities inventory and service accounts discovery page Available Available
Identities settings: manual tagging Available Available
Identities settings: sensors page, health issues notifications Unavailable Available
Defender XDR Incident email notifications Available Unavailable
ISPMs and exposure management Unavailable Unavailable
Download scheduled reports and Graph API Unavailable Unavailable
Device and group global search and entity page Available Available
Alert tuning and critical asset management Unavailable Unavailable