Microsoft Defender for Identity
Identity protection

Directory Service Accounts for Microsoft Defender for Identity - Microsoft Defender for Identity | Microsoft Learn

In brief

The page now explicitly scopes DSA usage, recommendations, supported options, and selection behavior to Defender for Identity v2.x sensors. It also clarifies domain synchronizer responsibilities and improves wording.

What Defender admins need to know

Administrators can apply the DSA guidance with clearer scope for v2.x sensor deployments. No action is required.

Summaries are generated from the documentation change itself.

Documentation change

The comparison below shows only the changed extract. Use the full-page view for complete context.

Directory Service Accounts for Microsoft Defender for Identity - Microsoft Defender for Identity | Microsoft Learn

Defender for Identity usesv2.x sensors use Directory Service Accounts (DSAs) to read data from Active Directory, such as querying objects, tracking changes, and resolving entities. This is separate from the action account, which performs remediation actions like disabling users or resetting passwords.

Note

Regardless of the Directory Service Accounts configured, the sensor service operates under the LocalSystem identity, and the updater service operates under the LocalSystem identity.

WhileFor v2.x sensors, a DSA is optional in some scenarios, but we recommend that you configure a DSA for Defender for Identityconfiguring one for full security coverage.

For example, when you have a DSA configured, the DSA is used to connect to the domain controller at startup. A DSA can also be used to query the domain controller for data on entities seen in network traffic, monitored events, and monitored ETW activitiesactivities.

For sensor v2.x, a DSA is required for the following features and functionality:

  • When working with a sensor installed on an AD FS, AD CS, or Microsoft Entra Connect server.
  • Requesting member lists for local administrator groups from devices seen in network traffic, eventsevents, and ETW activities via a SAM-R call made to the device.
  • Accessing the DeletedObjects container to collect information about deleted users and computers.
  • Domain and trust mapping, which occurs at sensor startup, and again every 10 minutes.
  • Querying another domain via LDAP for details, when detecting activities from entities in those other domains.

When you're using a single DSA, the DSA must have Read permissions to all the domains in the forests. In an untrusted, multi-forest environment, a DSA account is required for each forest.

One sensor in each domain is definedacts as the domain synchronizer, and is responsible for trackingtracks changes to the entities in the domain. For examples,domain entities, such as new objects and changes might include objects created,to entity attributes tracked by Defender for Identity, and so on.attributes.

Note

Supported DSA account options

For v2.x sensors, Defender for Identity supports the following DSA options:

Option Description Configuration

DSA entry usage

This section describes how DSA entries are used, and how theA v2.x sensor selects a DSA entry in any given scenario. Sensor attempts differ, dependingbased on the type oftarget domain and configured credentials. Authentication attempts differ by DSA entry:type:

Type Description

Sample logic with a DSA

This section provides anThe following example ofshows how the sensor tries the DSA entiresentries when you have multiple accounts, includingconfigure both a gMSA account and a regular account.

The following logic is applied: