Identity threat detection with Defender for Identity · Deploy
Deploy Defender for Identity sensors
Sensors on a pilot, validated, then every domain controller and identity server, with sensitive accounts and honeytokens tagged.
- Duration
- 3 to 5 weeks
- Effort
- About 5 to 8 person-days
- Complexity
- Medium
- Beyond E5
- Nothing beyond Microsoft 365 E5
On this page
Overview
Once servers are prepared, v3.x sensors can be activated on servers onboarded to Defender for Endpoint, and v2.x sensors installed from the package. Microsoft's validation steps check the identity dashboard, the device timeline, advanced hunting tables and test alerts. Tagging sensitive accounts and honeytokens makes detections such as sensitive group changes work correctly.
Technically, you activate or install sensors in waves, check the Sensors and Health issues pages, run the validation checks, tag sensitive accounts, Exchange servers and honeytoken accounts, and test a response action.
You'll end up with: Sensors on every identity server, validated, with sensitive accounts and honeytokens tagged and a tested response action.
If you skip it: Without validation and full coverage, the portal shows sensors as installed while detections silently miss activity on the servers left out.
Before you start
The path to this playbook
- Plan Defender for Identity
- Prepare servers and auditing for Defender for Identity
- Deploy Defender for Identity sensors (you are here)
- Prepare servers and auditing for Defender for Identity: Auditing, accounts, capacity and connectivity ready on every identity server.
- Have prepared servers
How to do it
Each server in the wave has auditing, accounts, capacity and connectivity confirmed from Prepare servers and auditing for Defender for Identity.
Pilot to production
4 phasesDeploy and validate the pilot1 to 2 weeks
Activate or install sensors on the pilot domain controllers, then validate them.
Move on when Each pilot sensor shows data on the dashboard, its device timeline and advanced hunting, and test activity raises the expected alerts.
How to do it
Microsoft's validation checks the Identities dashboard for expected data, the device timeline for Defender for Identity events, and advanced hunting tables for identity data, then runs test activity that should raise alerts.
Watch out for (1)
If you: Count a sensor as working because it shows as running
What tends to happen: A sensor runs but misses events because auditing is wrong, and nobody checks
A better approach:Validate each wave with the dashboard, device timeline, advanced hunting and a test alert
Tag sensitive accounts and honeytokensA few days
Tag the accounts that matter most as sensitive, confirm Exchange servers are tagged, and create and tag honeytoken accounts.
Move on when Sensitive accounts and honeytokens are tagged, and the security operations team knows what a honeytoken alert means.
How to do it
Some detections, such as sensitive group changes, rely on the sensitive tag. Exchange servers are tagged as sensitive by default. A honeytoken is a dormant account; any sign-in from it raises an alert.
Watch out for (1)
If you: Create a honeytoken that a script or service still uses
What tends to happen: It raises alerts every day and gets ignored
A better approach:Use a new, unused account with a believable name, and confirm nothing signs in with it
Deploy to every identity server2 to 3 weeks
Deploy sensors to the remaining domain controllers, then AD FS, AD CS and Entra Connect servers, validating each wave.
Move on when Every server in the inventory has a validated sensor and no open health issues.
How to do it
For AD FS, sensors go on the federation servers only, not on Web Application Proxy servers. Offline AD CS servers don't need a sensor. Entra Connect needs sensors on both the active and the staging servers. On servers using v2.x, AD FS, AD CS and Entra Connect sensors need the Directory Service Account.
Watch out for (1)
If you: Leave read-only domain controllers or a remote site for later
What tends to happen: The gap stays open, and attacks through that site aren't seen
A better approach:Track coverage against the inventory until every server has a sensor
Test response and hand overA few days
Test a response action on a test account, and hand sensor health and identity alerts to their owners.
Move on when A test account was disabled and re-enabled from the portal, and owners have accepted.
How to do it
Response actions such as disabling an account or resetting a password run through the sensor's local system account on v3.x, or the action account on v2.x.
Tell the security operations team what identity alerts look like and how they join incidents, and walk them through one test alert from start to finish.
How you'll know it's working
3 measures
Capture a baseline before you start, or you won't be able to show the change.
| Measure | Where you see it | Good direction |
|---|---|---|
| Identity servers with a validated sensor | Sensors page against the inventory | Up |
| Open sensor health issues | Health issues page | Down |
| Sensitive accounts tagged | Entity tags | Up |
Take it with you
plan, gate checks, 1 template
Plan outline: phases and when to move on
- Deploy and validate the pilot (1 to 2 weeks). Move on when: Each pilot sensor shows data on the dashboard, its device timeline and advanced hunting, and test activity raises the expected alerts.
- Tag sensitive accounts and honeytokens (A few days). Move on when: Sensitive accounts and honeytokens are tagged, and the security operations team knows what a honeytoken alert means.
- Deploy to every identity server (2 to 3 weeks). Move on when: Every server in the inventory has a validated sensor and no open health issues.
- Test response and hand over (A few days). Move on when: A test account was disabled and re-enabled from the portal, and owners have accepted.
Gate checks: questions to answer before each phase ends
Before leaving Deploy and validate the pilot
- Did the pilot raise the expected test alerts?
Before leaving Tag sensitive accounts and honeytokens
- Is every honeytoken unused by any service?
Before leaving Deploy to every identity server
- Does every server in the inventory have a validated sensor?
Before leaving Test response and hand over
- Did the test response action work?
Wave record
Wave: [site or server group]. Servers: [list]. Sensor: [version]. Validated: [dashboard, timeline, hunting, test alert]. Health issues: [none / list]. Date: [date].
Microsoft Learn
6 links
Configure
Contributor

Microsoft 365 architecture and governance · Protiviti
Compare notes or suggest an improvement
Changelog
Changelog (1 version)
| Version | Date | By | Change |
|---|---|---|---|
| 1 | Sev Derghazarian | First draft. |