Defender for Endpoint Integration
Show Microsoft Defender for Endpoint onboarding, exposure level, risk score, alerts, vulnerabilities and recommendations on RealmJoin device pages.
With the optional Security features enabled, RealmJoin Portal queries the Microsoft Defender for Endpoint (MDE) API for a device's Defender record and its alerts, vulnerabilities, security recommendations, logged-on users and installed software. It shows them on the device details page next to the device's Intune, Entra ID, Autopilot and RealmJoin Client data.
Prerequisites
Microsoft Defender for Endpoint licenses for the devices you want to see.
Devices onboarded to Defender for Endpoint. Devices that are not onboarded show no Defender data.
The Security features activated for your organization (see below). They are not part of the default RealmJoin configuration.
Activate the Security features
The Security features use their own app registration, RealmJoin Portal - Security Features, which needs read access to the Defender for Endpoint API (WindowsDefenderATP). See Portal Required Permissions for the full list.
Granting it requires an administrator who can give tenant-wide admin consent. Use one of these ways:
In the Portal: Go to Organization â–¸ Features. In the Security features card, select Activate and complete the admin consent in Microsoft Entra ID.
With PowerShell: Add the
SecurityFeaturesfeature with the RealmJoin PowerShell module, see Advanced Setup:Update-RJTenant -AddFeatures @('SecurityFeatures') 6>&1
Once active, the Security features card lists the granted MDE permissions and offers Reactivate to grant them again. The organization details page shows Security Features as Active.
How devices are matched
RealmJoin looks up the Defender device record by the device's Entra ID device ID. If Defender has no record with that ID, it falls back to a record whose computer name matches the device's display name, preferring the most recently seen one.
Defender data is cached for up to five minutes, so a change in Microsoft Defender can take a few minutes to show in RealmJoin.
What the device page shows
The following elements appear on a device's Overview tab. Sections without data are hidden, and each one is only shown to roles that have the matching permission.
Status icon
With the Security features active, the device header shows the Defender MDE enabled shield. It is blue when the device is onboarded to Defender for Endpoint and red otherwise.
Endpoint Security Information
A summary of the device's Defender record:

Onboarding
Defender onboarding state, for example Onboarded, CanBeOnboarded or Unsupported. Anything other than Onboarded is highlighted.
Health Status
Sensor health, for example Active, Inactive, ImpairedCommunication or NoSensorData. Anything other than Active is highlighted.
Exposure Level
How exposed the device is to threats, based on its vulnerabilities and misconfigurations: None, Low, Medium or High.
Risk Score
The device's risk based on active alerts: None, Informational, Low, Medium or High.
Agent Version
Version of the Defender for Endpoint sensor.
RBAC Group
The Defender device group the device belongs to, or Unassigned.
First Seen
When Defender first saw the device.
Last Seen
When Defender last received data from the device.
Low and lower values are shown in blue, Medium in yellow and High in red. See Microsoft's exposure score and risk score documentation for how Defender calculates them.
If Defender for Endpoint does not answer in time, the section shows a notice instead. Reload the page later to try again.
Security Alerts
The Defender alerts for the device, most severe and newest first. Each alert shows its title, severity, classification (for example True positive or False positive), whether it is assigned or resolved, when it was created and last updated or resolved, its description and category, and the evidence Defender collected: files, processes (with process and parent process IDs), URLs, accounts and registry values.
Security Vulnerabilities
The vulnerabilities (CVEs) Defender found on the device, sorted by severity and then by whether a public or verified exploit exists. Each entry shows its severity, the Public and Verified exploit flags, when the CVE was published and updated, its description, links to known exploits and a link to the official CVE article.
Security Recommendations
Defender's security recommendations for the device with their status. Recommendations to update software that updates itself (Microsoft Edge, Google Chrome, Microsoft Office and Visual Studio Code) are marked Automatic.
Link to Microsoft Defender
Under External Links, Security Center opens the device in the Microsoft Defender portal (security.microsoft.com).
MDE Data tab
The MDE Data tab shows the raw Defender device record as JSON, together with the alerts, recommendations, logged-on users, vulnerabilities and software Defender reports for the device. Like the other data source tabs, it is only shown when Show advanced info is enabled in Settings.
Defender Scan
The Defender Scan button on the device page is not part of this integration. It asks Intune to run a Microsoft Defender Antivirus quick scan on the device, so it works without the Security features but requires the device to be managed by Intune. It needs the CanScanDevice permission.
Permissions
Which roles see what is controlled by these permissions:
CanSeeDeviceExtendedSecurityInformation
Endpoint Security Information
Admin, Advanced Supporter, Supporter, Auditor
CanSeeDeviceSecurityAlerts
Security Alerts
Admin, Advanced Supporter, Supporter, Auditor
CanSeeDeviceSecurityVulnerabilities
Security Vulnerabilities
Admin, Advanced Supporter, Supporter, Auditor
CanSeeDeviceSecurityRecommendations
Security Recommendations
Admin, Advanced Supporter, Supporter, Auditor
CanSeeDeviceExternalLinks
Security Center link (and the Intune and Entra links)
Admin, Advanced Supporter, Auditor
CanSeeDeviceJsonAtp
MDE Data tab (with Show advanced info)
Admin, Advanced Supporter, Auditor
CanScanDevice
Defender Scan button (Intune)
Admin, Advanced Supporter, Supporter
Entra Global Administrators have all of them. See Pre-defined Roles and Custom Roles for assigning them.
Last updated
Was this helpful?