MISP login with Microsoft Entra ID

Plan and configure MISP sign-in through Microsoft Entra ID with the AadAuth plugin, including the single-tenant setting that keeps stray Microsoft accounts out.

On this page

Why teams connect MISP login to Microsoft Entra ID

Teams connect MISP to Microsoft Entra ID when they want staff to sign in with their existing Microsoft work accounts instead of maintaining a separate MISP password for each analyst. The MISP plugin for this is AadAuth, which sits alongside local accounts rather than replacing them. In practice, the security team keeps a small set of local accounts for break-glass access and for systems that cannot use a browser login, while day-to-day users authenticate against the tenant. That split matters for intelligence sharing platforms, where a single compromised account can expose or distribute controlled information.

The practical gains are central offboarding, MFA enforcement and fewer local passwords. When an employee leaves or loses access in the identity provider, their MISP sign-in stops working without a separate clean-up in MISP, and multi-factor requirements set by the identity provider apply to MISP logins as well. Each of these benefits depends on the identity provider policy you already run, so confirm with your identity team which conditional access and MFA rules apply to the application before you rely on them.

This page covers the set-up path and the risks as described in the supplied AadAuth README: the app registration and redirect URI, group checks for users, org admins and site admins, pre-creating users through the API, and the single-tenant setting. Read the README for the current plugin version on your MISP release before you start, because option names and defaults are the details most likely to differ from one version to the next. The rest of this page assumes you have decided that Entra ID is the identity source for MISP users.

How AadAuth brokers a MISP login through Entra ID

The flow starts in the user's browser, which requests a MISP login page. MISP with the AadAuth plugin redirects the browser to Microsoft Entra ID, where the user signs in inside the configured tenant. Entra ID returns the user to the redirect URI registered on the app registration, and MISP then matches the account to an existing or pre-created MISP user and checks group membership before assigning roles. Check that the tenant boundary is single-tenant and that group checks run on every login.

Login path from browser to MISP through Entra ID, with the tenant boundary marked.

Which AadAuth settings to choose and when

The tenant setting decides which Microsoft Entra ID directories can issue tokens that MISP will accept. A single-tenant setup limits sign-in to accounts in your own directory, which is the configuration most organizations want for an internal threat sharing platform. The multi-tenant option accepts accounts from any Microsoft tenant, so the identity check depends on the email address the token presents rather than on your directory alone. The AadAuth README warns against this option unless group checks stay enabled. Without them, any Microsoft account with a matching email address could log in to your instance.

  • Single-tenant: Only users in your directory can authenticate, which keeps the trust boundary aligned with your own identity lifecycle.
  • Multi-tenant: Accounts from other tenants can reach the login flow, so a second control is needed to decide who gets in.
  • Tenant identifier: Confirm the tenant ID you configure matches the directory that holds your MISP users.
  • Guest accounts: Check whether external collaborators exist in your directory and whether they should have MISP access.
  • Change control: Record the tenant choice in your deployment notes, since changing it later affects every user.

Before go-live, confirm the tenant setting in the configuration file and test a sign-in with an account from outside your directory to verify that it is refused.

AadAuth configuration options and when each fits

This table compares the tenant, group check and self-management settings in the AadAuth plugin, with the README's recommended direction and the risk if each is set wrong. Read each row as a decision to confirm before the first user signs in, since the riskiest combination is a multi-tenant setting with group checks turned off.

SettingRecommended directionRisk if wrong
Tenant mode (single-tenant)Use single-tenant so only accounts from your own Entra ID tenant can authenticateMulti-tenant lets Microsoft accounts from other tenants reach the login flow, so access depends on the remaining checks
Tenant mode (multi-tenant)Avoid unless you have a documented reason and check_ad_groups stays trueWith check_ad_groups false, any Microsoft account with a matching email could log in
check_ad_groups (true)Keep enabled so group membership decides which users are allowed and which roles applyMembership is not enforced, so access rests on email matching alone
check_ad_groups (false)Use only in a tightly scoped test tenant, with a plan to re-enable before productionAny account that passes the email match can authenticate into MISP
User self-managementDisable so users cannot change their own profile details in MISPUsers may alter fields that should come from the directory or from an administrator
Login changeDisable so users cannot switch the login identifier that MISP matches against Entra IDA changed identifier can break the link between the directory account and the MISP user
Password changeDisable so passwords are managed only in Entra ID, where MFA and policy applyLocal password changes create a second credential that bypasses directory controls

Set up AadAuth with an app registration and redirect URI

This sequence takes a MISP 2.5 instance from a plugin switch to a verified Microsoft Entra ID sign-in, with the app registration, redirect URI, plugin settings and test account each confirmed before the next step begins.

  1. Install and enable the AadAuth plugin

    Confirm your MISP instance is on the 2.5 line, then install the AadAuth plugin from the MISP codebase and enable it in the administration settings. Work from the plugin's README in the 2.5 branch, because the setting names and required values are defined there and may change between releases. Check that the plugin appears as enabled in the plugin list and that MISP still loads its login page without errors before you move on. Keep a local administrator account working throughout so you can recover if a later setting locks out logins.

  2. Register the application in Entra ID

    In the Microsoft Entra admin center, create an app registration for MISP under the tenant your users belong to. Choose the account type deliberately, since the single-tenant versus multi-tenant choice decides who can sign in at all. Note that the README warns against the common multi-tenant setting unless the group check stays enabled. Confirm the registration appears in the application list with its overview page available before you add any redirect URI.

  3. Set the redirect URI to the MISP callback

    Under the app registration's authentication settings, add a web redirect URI that matches the callback path the AadAuth README specifies for your MISP base URL. The URI must match exactly, including scheme, host and path, or the sign-in will fail after Microsoft redirects back. Copy the path from the README rather than typing it from memory. Check the saved URI by reviewing the authentication page and confirming it lists the exact address you intend MISP to use.

  4. Record the tenant and client identifiers

    From the app registration overview, copy the directory (tenant) ID and the application (client) ID. If the README calls for a client secret or certificate, create it under certificates and secrets and record its value immediately, because the portal will not show it again. Store these values in your secrets management system, not in a shared document. Confirm you have the three values written down in the form the README expects before opening the MISP configuration.

  5. Configure the AadAuth plugin settings

    In the MISP administration interface, open the AadAuth plugin settings and enter the tenant ID, client ID and any secret value using the exact setting keys named in the README. Set the single-tenant option and keep the group check enabled, as the README recommends for controlling which accounts may log in. Also review the self-management, login change and password change options and disable them where the README advises for a directory-backed login. Save the configuration and confirm MISP reports the plugin as configured with no validation errors.

  6. Create or pre-create users and assign roles

    Decide whether each user will be created on first sign-in or pre-created through the MISP API with the correct organisation and role. Pre-creation lets you assign roles before the user ever logs in, which keeps privilege decisions with administrators. Match the email address on each account to the identity the directory returns, since that pairing is how AadAuth links a sign-in to a MISP user. Confirm each pre-created account appears in the user list with the intended organisation and role.

  7. Test sign-in with a known account

    Sign in with a test account that belongs to the permitted group and confirm MISP lands you on the expected organisation and role. Then try an account outside the permitted group or tenant and confirm it is refused. Review the MISP audit log and the Entra ID sign-in logs for both attempts so you can see where each decision was made. Only after both tests behave as expected should you extend access to the wider user population, and keep the local administrator account documented for recovery.

Mapping groups to users, org admins and site admins

Entra ID login for MISP is only as good as the rules that turn a directory account into a MISP user, organisation admin or site admin. The cards below cover the parallel decisions you need to settle before go-live: who gets in, who administers an organisation, who administers the whole instance, what happens to everyone else, and how to prove each mapping works.

Standard user access by group

Decide which Entra ID group grants ordinary MISP access and make that the first gate the AadAuth check enforces. Standard users should be members of a dedicated group, not a broad tenant-wide group, so that membership maps to a clear business need. Confirm the group claim name and format in your own tenant before writing any configuration, because group claims can arrive as object IDs rather than display names depending on how the token is issued. Record the group object ID alongside its purpose so future reviews can trace each grant.

AadAuth README

Organisation admin assignment

An org admin manages users and settings for one MISP organisation, so this role should map to a separate group that is smaller than the standard user group. Keep the org admin group scoped to people who already own onboarding and offboarding for that organisation. Check in your test tenant that a user holding only the org admin group can see their own organisation and no others, since an over-broad mapping here is the most common way administrative reach spreads unnoticed.

Site admin assignment

Site admin is the most powerful role on the instance, covering global settings, all organisations and the platform itself. Map it to a small, named group with a documented owner and an approval step for membership changes. Keep at least one emergency local administrator outside Entra ID so a broken sign-in configuration cannot lock every administrator out. Verify that the site admin group does not also satisfy the standard user check through an inherited membership, since overlapping groups make it hard to audit who holds which role.

Handling users outside the groups

Decide what happens when a valid Microsoft account authenticates but belongs to none of the MISP groups. The safe default is refusal, with the user receiving no MISP role. Pair this with the single-tenant setting and the group check so that a user whose email matches an existing MISP account is still rejected unless group membership is confirmed. Document who is contacted when a legitimate user is refused, because that message is the first signal of a missing group assignment.

Testing each mapping

Test every mapping with one dedicated account per case: standard user, org admin, site admin, an unmapped tenant user and a guest or external account. For each, confirm the role shown in MISP, the organisation it belongs to, and whether it can perform the action the role should block. Run these tests after every change to group membership or app settings, and keep the results with your change record. Confirm the exact behaviour of pre-created and new users with your own test tenant, since onboarding flow differs between them.

Pre-creating users through the API before first login

Pre-creating MISP users through the API means the account, its email address, organisation and role exist before the person signs in with Microsoft Entra ID. AadAuth matches the Microsoft account to an existing MISP user by email, so if no account is waiting, the first sign-in has nothing to attach to and the user lands without the organisation or permissions their job needs. Pre-creation also lets an admin decide who gets access before anyone authenticates, which matters more once the single-tenant setting is in place. Treat the email value as the join key: a mismatch in case, alias or a guest address will produce an account that looks correct in MISP but never matches the Entra sign-in.

The two login settings work together with pre-creation. With the single-tenant configuration and the group checks left enabled, Entra decides who can authenticate, and MISP decides what they can do once they do. Pre-created accounts are the MISP side of that decision. Self-management should stay disabled, as the AadAuth README recommends, so users cannot change their login or password details and drift away from the identity provider's record. Confirm with your own tenant team how group membership maps to the org and role you plan to assign, and document that mapping before the first batch of accounts is created.

The workflow is straightforward at a high level: agree the list of users, organisations and roles from your group model, create each user through the MISP API with the matching email, then sign in with a test account to confirm the match and the assigned role. Use an admin API key scoped and handled under your MISP security controls, and check the exact endpoints and fields against your installed version rather than relying on examples. The wider process of creating organisations, assigning roles per team and disabling leavers is covered in the onboarding topic, which is where to plan batch creation and offboarding.

Stopping any Microsoft account from logging in

The AadAuth plugin trusts what Entra ID tells it, so the tenant setting, group checks and local account settings decide who can reach MISP. These cards cover the controls that keep the login limited to your own people, and the checks to run after every change.

Single-tenant application setting

A multi-tenant app registration accepts sign-ins from any Microsoft tenant, so the tenant choice is the first control to set. Configure the app for your single tenant only. Then test with an account from another tenant or a personal Microsoft account to confirm it is refused before any user is onboarded. Record the tenant ID and the setting in your change log so a later edit is visible.

AadAuth README

Keep check_ad_groups enabled

The AadAuth README warns that a multi-tenant setup lets any Microsoft account with a matching email log in unless check_ad_groups stays true. Treat that flag as a hard requirement in your configuration review, not a tuning option. Confirm that a user who is not in an allowed group is refused even when their email matches an existing MISP account.

AadAuth README

Group membership for each role

Map the Entra ID groups that grant access to MISP, and separate groups for org admins and site admins. Keep the group list short and owned by a named identity team. Review membership on a schedule, because a user who leaves a group keeps MISP access only if the group check is missing or the account stays enabled.

Disable local self-management

The README recommends turning off user self-management, login change and password change, so Entra ID remains the only place identity is changed. Users who can still edit their own login details can drift from the directory. Confirm each setting in the MISP administration settings after the plugin is enabled, and retest after every MISP upgrade.

Emergency local admin access

If Entra ID is unavailable or misconfigured, you need a way back in. Keep one or two local site admin accounts with strong, unique credentials and multi-factor authentication stored under dual control, and test that they still log in. Document when they may be used and who approves that use. Disable them when not needed if your policy allows, and check them during every access review.

Logging and role review after changes

Record every login, refused login, role change and settings change, and send those logs to your central log store. After any change to groups, tenant settings or the plugin, compare MISP user roles and organisation assignments with the directory. Remove accounts that no longer match an allowed group, and confirm refused sign-ins appear in the logs.

Questions teams ask before setting up Entra ID login for MISP

Can our internal team set up MISP login with Microsoft Entra ID on its own?

Yes, if you have someone who can administer both the Entra ID tenant and the MISP instance, and who can test the result with real user accounts. The work is mostly configuration: an app registration, a redirect URI, group checks in the AadAuth plugin, and a set of pre-created users. The harder parts are the decisions behind the configuration, such as how groups map to MISP roles and organisations and whether the tenant is single or multi-tenant. Teams without a MISP administrator or without a clear group design often find the decisions take longer than the configuration. DeployOpen can plan, build and test this as a fixed-scope engagement if you prefer to hand it over.

What makes the effort for Entra ID login for MISP larger or smaller?

Four factors drive the effort most: your tenant policy, your group design, the number of organisations involved, and how much testing you require. A single tenant with a small, clearly named set of groups is a short piece of work. A tenant with conditional access rules, several sub-tenants, or group membership that is managed in several places needs more planning. Each MISP organisation and each role you need to separate adds mapping and test cases. Testing covers sign-in, role checks for users, org admins and site admins, and a leaver who should lose access. Ask any partner to show how each of these four factors changes their quote.

What do we need from the identity team and the MISP admins?

The identity team needs to create or approve the app registration, confirm the redirect URI for your MISP hostname, and decide which Entra ID groups grant MISP access and at which level. They also need to confirm who may grant consent and how group membership is maintained. The MISP admins need to set the AadAuth plugin options, pre-create users through the API or the interface, and agree the default role and organisation for new accounts. Both teams should agree on a test account list before any change reaches production. Ask the partner to name these tasks in the written scope so each team knows its share.

Does Entra ID login replace local MISP admin accounts?

No. Keep at least one local administrator account that does not depend on Entra ID, so you can recover access if the identity provider, the app registration, or the tenant is unavailable or misconfigured. Store its credentials in a controlled vault and record when it is used. Protect it with multi-factor authentication where the MISP version supports it, and test the recovery path before go-live rather than during an outage. Single sign-on should handle daily sign-in for people, while the emergency account handles exceptional cases only.

Why does the single-tenant setting matter for MISP Entra ID login?

The AadAuth README warns that the common multi-tenant setting lets any Microsoft account with a matching email address log in unless the group check stays enabled. Single-tenant login limits sign-in to accounts from your own directory, which is the safer default for an information sharing platform. Confirm the setting with your identity team, keep the group check on, and test with an account from outside your tenant to prove it is refused. Also review the README's advice to disable user self-management, login change and password change, since those functions should stay with your identity provider.

How do new groups, new users and leavers get handled after go-live?

Changes in Entra ID groups flow into MISP at the next sign-in, so group membership is the main control for access. Adding a user to the right group grants the MISP role mapped to it, and removing them stops access the next time the account is checked. Users who must exist in MISP before their first sign-in still need to be pre-created through the API, so onboarding scripts and offboarding steps should be part of the runbook. Review group-to-role mappings on a set schedule, and confirm with your partner or internal team how disabled accounts in MISP are cleaned up. Ask whether a retainer covers this ongoing change work.

What should we ask a partner to include in a quote?

Ask for a written scope that lists the tenant settings to be confirmed, the app registration steps, the group-to-role and organisation mapping, the pre-creation method for users, and the test cases. Request the MISP version the work targets, since the MISP 2.5 line is the recommended one for new deployments. Ask what is one-time work (build and testing) and what recurs (group reviews, upgrades, support). Confirm who owns the app registration secret and who performs the retest after any change. A quote that cannot explain these items is hard to compare with your own estimate.

How DeployOpen scopes and delivers MISP Entra ID login

DeployOpen scopes MISP Entra ID login as a fixed-scope engagement, with the scope, deliverables and timeline agreed in writing before any configuration starts. The first working session is about decisions, not settings: which Microsoft Entra ID tenant is the single tenant that MISP will trust, which groups map to site admins, org admins and ordinary users, which organisations exist in MISP and who owns each one, and whether existing local accounts will be paired with Entra identities or retired. Those answers shape the AadAuth configuration, the group checks and the pre-creation of users through the API, so they are written down and signed off by the client before anyone edits the app registration or the MISP configuration.

Delivery then happens inside the client's own MISP environment, on infrastructure the client controls. DeployOpen registers the application, sets the redirect URI, configures the single-tenant setting and the group checks, and disables user self-management, login change and password change as the AadAuth README recommends. Each access path is tested with real accounts: a member of each group, a user outside every group, a Microsoft account from another tenant with a matching email address, and an account that should be denied after it is removed from the group. The emergency local admin path is verified too, so a misconfigured tenant setting does not lock the team out. Test evidence, configuration exports and a short runbook are handed over with the environment.

Ongoing support is a separate decision. Changes to group membership, new organisations, MISP upgrades and Entra ID tenant changes all touch the login path, so many clients keep DeployOpen on a retainer for upgrade testing and periodic access reviews. Quotes should separate the one-time scope from any recurring retainer, and should state who handles the Entra ID administration, who approves group changes and what happens when MISP moves to a new release. DeployOpen prepares the controls and evidence for your own compliance and security reviews, but it does not issue audit reports or certifications; those come from independent auditors and certification bodies.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.