Safeguard Docs
Compliance ConnectorsSetup by categoryEndpoint Detection & Response

Microsoft Defender for Endpoint

Connect Microsoft Defender for Endpoint to Safeguard: what it provides, how to set it up, and the frameworks it provides evidence for.

Connect Microsoft Defender for Endpoint to collect endpoint detection & response evidence with automated compliance tests, switched on per workspace.

CategoryEndpoint Detection & Response
Connect withAPI token
What a connection producesAutomated compliance tests
Microsoft Defender for Endpoint's guidelearn.microsoft.com

Connect with an API token

  1. In Microsoft Defender for Endpoint:

    1. Sign in to the Azure portal with a Microsoft Entra role that can register apps, such as Application Administrator.
    2. Search for App registrations and open it, then select New registration.
    3. Enter a name such as Safeguard and select Register.
    4. From the application page, select Certificates & secrets › New client secret.
    5. In the Add a client secret pane, add a description and expiration date, then select Add.
    6. Copy the secret's Value now; it cannot be retrieved after you leave the page.
    7. On the application page, go to Manage › API permissions › Add permission › APIs my organization uses.
    8. On the Request API permissions page, search for WindowsDefenderATP and select it.
    9. Choose Application permissions (access the API as a service).
    10. Select the appropriate permissions for your app (check the Permissions section of each API you call), then select Add permission.
    11. Have an administrator grant admin consent for these application permissions so they take effect.

    Where to find the other values:

    • Client ID: The app's Overview page shows the Application (client) ID.
    • Tenant ID: The app's Overview page shows the Directory (tenant) ID.

    Microsoft Defender for Endpoint shows the secret only once, so copy it before you leave the page.

    Microsoft Defender for Endpoint's public documentation does not cover every step.

    Applies to Microsoft Defender for Business and Defender for Endpoint Plans 1 and 2. The fetched page does not spell out the admin-consent button label; Microsoft requires application permissions to be consented by an admin before they take effect. The permission names come from the connector's grant list (the WindowsDefenderATP API's application permissions). Verification removed the permission names Machine.Read.All, Alert.Read.All and Vulnerability.Read.All from the steps because the fetched page does not list them.

    Source: learn.microsoft.com, checked 2026-10-07.

    The permissions Safeguard needs: Machine.Read.All, Alert.Read.All, Vulnerability.Read.All.

  2. On Compliance › Connectors, open Microsoft Defender for Endpoint, click Connect, choose API token and fill in:

    FieldWhat to enter
    Tenant IDRequired.
    Client IDRequired.
    Client secretRequired. Stored encrypted and never shown again.
  3. Click Connect with token.

Frameworks

Safeguard's automated tests read Microsoft Defender for Endpoint and map to the controls below. When a test passes, the result is evidence toward each control it maps to, in every framework listed. It is evidence toward a control, not proof that the control is met on its own.

FrameworkEvidenceControlsTests
SOC2Automated testsCC6.8, CC7.1, CC7.2, CC7.3, CC7.412
ISO/IEC 27001Automated testsA.5.26, A.8.1, A.8.7, A.8.8, A.8.1612
HIPAA Security RuleAutomated tests164.308(a)(1), 164.308(a)(5), 164.308(a)(6)12
PCI DSSAutomated tests5.2.1, 5.3.1, 5.3.5, 6.3.3, 12.10.112
NIST CSF 2.0Automated testsDE.AE-02, DE.CM-09, ID.RA-01, PR.PS-01, PR.PS-02, RS.MI-0212

These tests are switched on per workspace by the Safeguard team.

On this page