Microsoft Defender
As part of its MDR (Managed Detection and Response) offering, Stoïk manages the Microsoft EDR/XDR configuration. Unlike CrowdStrike or SentinelOne, Stoïk does not sell Microsoft Defender licences, we only manage them. The licences remain yours, and you stay in control of your Microsoft tenant. For Stoïk to deliver the MDR service on Microsoft Defender, your console must be connected to Stoïk so that:
Monitored hosts and alerts flow into Stoïk's systems and are handled by the Stoïk CERT team 24/7
You get full visibility on your MDR activity (hosts, alerts, investigations) directly in Stoïk Protect
Deploy your licences
Assigning a licence is not the same as deploying the Defender for Endpoint agent. The agent must be deployed on each device to actually enrol it, licence assignment alone does not do this.
Endpoints (workstations): once licences are assigned, deploy Defender for Endpoint on the devices via Intune, Group Policy, or a manual script. See Microsoft's Onboarding devices documentation for the available methods.
Servers: a dedicated licence is required. Subscribe it first via Update your licences, then deploy it using the
.exeinstaller Microsoft provides.
Connect your Microsoft tenant to Stoïk
This is the step that links your Microsoft Defender console to Stoïk, so that alerts and hosts flow into Stoïk's investigation platform and into Stoïk Protect. The setup has three parts:
Part A: done in a single click from Stoïk Protect (this authorises Stoïk to read alerts and hosts from your Defender tenant).
Part B.1: invite a dedicated external user to give the Stoïk CERT team access to the Microsoft Defender portal.
Part B.2: add XDR Defender permissions (required if Defender RBAC is enabled on your tenant).
Part A: Authorise Stoïk from Stoïk Protect
Log in to Stoïk Protect with your Stoïk account.
Go to MDR > Settings.
Click Connect your Microsoft account.

You are redirected to Microsoft. Review the permissions requested by the Stoïk MDR application and click Accept.
You are sent back to Stoïk Protect. The Settings page will show the connection as Connected, along with the detected Microsoft Tenant ID. Once Part A is complete, your Microsoft Defender alerts will start flowing into Stoïk. You can already see monitored hosts and alerts in Stoïk Protect > MDR.
Part B.1: Invite the Stoïk MDR user
To let the Stoïk CERT team use the Microsoft investigation console and conduct large-scale investigations on your tenant, you must invite a dedicated external user.
Go to portal.azure.com with an account that has Global Admin rights.
In the top search bar, type Users and open the user management section.

Click All Users, then Invite external user.

Fill in:
Email address:
mdr_api@stoikcert.onmicrosoft.comDisplay name:
Stoik_Mdr_Api
Copy your tenant ID (displayed at step 3 of the invite form), you'll need it later.

Go to the Assignments tab, click Add role, search for and select Security Operator, then click Select.

Click Review + invite, then Invite to finalize.

Part B.2: Add XDR Defender permissions (if Defender RBAC is enabled)
Go to security.microsoft.com with an account that has Global Admin rights.
Expand System, click Permissions, then under Microsoft Defender XDR, select Roles.

Click Create a custom role and fill Role Name with stoik_mdr_role.


Grant permissions: for each of the three permission groups, select All read and management permissions, click Apply, then Next.

Add the assignment:
Click Add assignment.
Name:
stoik_mdr_assignment.Employees: type
mdr_api@stoikcert.onmicrosoft.comand click the user icon that appears to validate.Select All data sources.
Tick Include automatically all future data sources.
Click Add, then Next.

Click Submit to finalize.

Notify Stoïk
Once Part B is complete, send an email to protect@stoik.io with your Microsoft Tenant ID (copied at step 4 of the previous section). The Stoïk CERT team will finalize the activation on our side.
Troubleshooting
The "Connect your Microsoft account" button in Stoïk Protect returns an error. Make sure you are signed into Microsoft with a Global Admin account.
The connection shows as "Connected" in Stoïk Protect but I don't see any host or alert. It can take up to a few hours for the first data sync.
For any unresolved issue or to revoke Stoïk's access to your Microsoft Defender tenant, contact protect@stoik.io.
Last updated
Was this helpful?

