Wazuh SSO with Microsoft Entra ID

This page explains how to connect the Wazuh dashboard to Microsoft Entra ID over SAML, including the enterprise application, group claims, role mapping, conditional access and a fallback admin account.

On this page

How Wazuh SSO with Microsoft Entra ID works

Wazuh supports SAML single sign-on alongside its internal user database, and it documents a Microsoft Entra ID guide, so SAML is the supported method for governing dashboard sign-in through Entra ID. Your security or IT team keeps the Wazuh dashboard but hands the authentication step to Entra ID, which checks the user's password, multifactor authentication and any conditional access rules before the user reaches the dashboard. Entra ID then sends a SAML assertion to Wazuh that carries the user's identity and group claims.

Wazuh does not decide who is an administrator on its own in this model. It reads the group claims from the assertion and maps those groups to Wazuh roles, so the group membership you manage in Entra ID determines what a user can do in the dashboard. A local Wazuh account stays available for recovery if the identity provider, its certificate or the SAML settings fail, and that account should be tested before you turn SAML on for everyone. Plan who owns the mapping, who can change Entra ID group membership, and how changes get reviewed.

The exact configuration keys, file locations and the SAML settings Wazuh expects must come from the current Wazuh single sign-on documentation for the 4.14 patch level you have installed, not from older guides or from this summary. Confirm the attribute names, certificate handling and role mapping syntax against that documentation and your own test environment before a production change, because small differences in claim names or group identifiers are a common cause of failed sign-in.

What you need before configuring Entra ID and Wazuh

Four decisions and checks come before any Entra ID or Wazuh setting is changed. Each one shapes the enterprise application, the group claims and the role mapping that follow, so resolving them first avoids rework. Confirm the Wazuh patch version against the release notes before scheduling the work.

A working Wazuh 4.14 deployment

The dashboard must be reachable over HTTPS with a valid certificate, because the SAML assertion consumer URL and the metadata you exchange with Entra ID depend on it. The Wazuh release line is 4.14, and patch versions such as 4.14.9 (14 October 2026) should be confirmed against the release notes before work starts, since the SSO configuration steps can differ between patch levels. Record the exact dashboard hostname now, because changing it later means updating Entra ID as well.

Wazuh release notes

An Entra ID account with app rights

Someone must hold the Application Administrator or Cloud Application Administrator role in the Microsoft Entra tenant to create the enterprise application and set its single sign-on options. Confirm this account before the change window, because a missing role is the most common reason the setup stalls midway. Ask your Entra administrator whether Conditional Access policies already apply to all cloud apps, since those policies will also apply to the Wazuh application.

Group structure and source

Decide which Entra ID groups will map to Wazuh roles and whether those groups are cloud-only or synchronized from on-premises Active Directory. Synchronized groups go through Microsoft Entra Connect, while cloud-only groups are created directly in Entra ID, and the choice affects how long a membership change takes to reach Wazuh. Confirm with your identity team which group type your security staff already use.

A written Wazuh role matrix

Document which Wazuh roles exist in your deployment, which Entra ID group maps to each role, and the named users expected to hold each one. Keep the matrix short and assign each user to exactly one primary group, so the role mapping stays testable. Review the list with the security lead, since it becomes the reference for access reviews and for testing analyst and administrator logins.

A tested break-glass local account

Keep at least one local Wazuh account that signs in without Entra ID, so an outage or a misconfigured claim cannot lock every administrator out of the dashboard. Store its credentials in your approved secrets store, restrict who can read them, and confirm a login works before enabling SAML enforcement. Test this account again after each Wazuh upgrade, because the upgrade may change how the login page behaves.

How the sign-in flow moves between Entra ID and the Wazuh dashboard

The sign-in starts in the browser when a user opens the Wazuh dashboard, which redirects them to Microsoft Entra ID. Entra ID applies conditional access and multifactor authentication before it returns a signed SAML response carrying group claims to the dashboard, where Wazuh maps those groups to roles. The trust boundary sits between the Entra tenant and the Wazuh-hosted infrastructure, and the local admin account is a separate path that does not pass through Entra ID. Check the claim names, the signing certificate and the break-glass path at each hand-off.

Shows the SAML sign-in path, the trust boundary and the local admin bypass.

Configuration sequence for Entra ID and the Wazuh dashboard

This sequence takes a Microsoft Entra ID tenant from a new enterprise application to verified role-based sign-in on the Wazuh dashboard, with the local admin kept as a fallback. Each step closes with a check so the team knows it can move on.

  1. Create the non-gallery SAML enterprise application

    An Entra administrator creates a new enterprise application from the Entra admin center, choosing the option for a non-gallery application because Wazuh is not a pre-integrated gallery app. Name it clearly, for example with the environment and the word Wazuh, so the application is easy to find in audit logs. Open the application's single sign-on settings and select SAML as the method. The step is done when the application exists in the enterprise applications list and its single sign-on page shows the SAML configuration blade.

  2. Set the identifier and reply URL from the Wazuh guide

    Copy the entity ID and the assertion consumer (reply) URL exactly as the Wazuh single sign-on guide for your release specifies, then enter them in the basic SAML configuration. Small differences in trailing slashes or hostnames are a common cause of failed sign-ins, so compare the values character by character against the Wazuh dashboard hostname you will actually use. The check is that the saved basic SAML section matches the Wazuh documentation values and that the dashboard hostname resolves to the address your users will reach.

  3. Configure attributes and group claims

    In the attributes and claims section, add a group claim so the SAML response carries the groups the user belongs to. Decide whether to emit group object IDs or display names. Object IDs are stable when a group is renamed, while names are easier to read in role mapping, so pick one and record it for the Wazuh role mapping step. Limit the claim to security-relevant groups where possible, since large group lists can exceed token limits. The check is a test sign-in whose SAML response, captured with a browser SAML tracer, shows the group values and the NameID you expect.

  4. Export the federation metadata and certificate

    From the SAML certificates section, download the federation metadata XML or the Base64 signing certificate, depending on what the Wazuh guide for your release asks for. Store the file on the Wazuh server or in your configuration management repository with the signing certificate's expiry date noted, because a rotated certificate that is not updated in Wazuh will stop sign-in. Record the Entra identifier for the tenant so it can be matched in the Wazuh configuration. The check is that the file opens, contains the expected entity ID, and the certificate's validity dates are recorded in your change record.

  5. Assign groups and test users to the application

    Under Users and groups, assign the Entra security groups that map to Wazuh roles, such as a group for administrators and another for analysts. Confirm whether the application requires user assignment, and enable it if your policy calls for it, so only intended users can sign in. Add a small set of named test accounts to each group. The check is that the assignment list shows each group and test user, and that a test user outside the groups is refused by the application.

  6. Apply the Wazuh role mapping and restart services

    On the Wazuh side, add the SAML settings and the group-to-role mapping using the keys and file names the Wazuh single sign-on guide describes, using the same group format chosen in the claims step. Restart or reload the services the documentation names, in the order it gives, and keep the local admin account enabled and its credentials stored in your vault. The check is that the Wazuh services report healthy after the restart and the configuration files contain the mapping you intended, with no typos in group identifiers.

  7. Verify each role and the local admin

    Sign in with each test account and confirm the Wazuh dashboard shows the role assigned to that group, checking that administrators can reach administration views and analysts cannot. Test a user from outside every mapped group and confirm access is refused. Then sign in with the local admin account to confirm the fallback still works. Also test a sign-in under the Entra conditional access policy you intend to use, such as multifactor authentication, and record the result. The step is done when every role, the refusal case and the local admin have been tested and the results are documented.

How Entra groups and claims map to Wazuh roles

This table compares each Entra source, the claim sent in the SAML response, the Wazuh role it maps to and the owner who approves membership. Read each row as one access decision that must match on both sides of the sign-on. The main takeaway is that the group identifier type must match the Wazuh role configuration exactly, and any user without a mapped group should be denied by default.

Access caseEntra source and claimWazuh roleApproving owner
Administrator groupSecurity administrators group, sent as group object ID or display name, matching the mapping chosenAdministrator role, as named in the Wazuh SAML role mappingHead of security operations, with a named second approver
Analyst groupSOC analysts group, sent with the same identifier type as the administrator groupAnalyst role for alert triage and investigation; confirm its permissions in the Wazuh role documentationSOC lead
Read-only groupAudit and compliance viewers group, sent with the same identifier type as the other groupsRead-only role for dashboards and reports; confirm no write access in testingCompliance lead
Default denyAny user outside the three groups, so no matching group value is sentNo role assigned; confirm in testing that sign-in without a mapped role is refusedIdentity owner for the Entra tenant
Department attribute (scoping only)Department attribute from the user profile, added as a claim only if the team needs itNot used to grant roles by default; confirm Wazuh support before relying on itHR systems owner
Large group membershipUsers in many groups may trigger an Entra group limit, so claims can be incomplete or replacedAffected users may lose role mapping; test users in many groups before go-liveEntra tenant administrator

Which Entra ID license and data location settings affect this integration

The SAML connection between Wazuh and Entra ID can be built on the Free tier, but the access controls you plan around it may not be. Microsoft Entra ID Free is included with Microsoft cloud subscriptions such as Azure and Microsoft 365 and provides multifactor authentication, single sign-on to SaaS applications, basic reports and self-service password change. A non-gallery SAML application for the Wazuh dashboard falls within that single sign-on capability. Conditional access policies and group-based controls are a different matter. Microsoft lists Entra ID P1 from $7.00 per user per month and P2 from $10.00 per user per month with annual commitment, and P1 is included in Microsoft 365 E3 and Business Premium while P2 is included in Microsoft 365 E5. Confirm with your Microsoft account team or the current pricing page which license covers each conditional access rule you intend to enforce on the Wazuh application, because those rules are the ones most likely to be requested in a security review.

The tenant's data location is fixed when the tenant is created. Microsoft maps it from the country or region chosen at creation, and it cannot be changed afterward. Multifactor authentication data is stored in North America and or the tenant's geo-location. If your compliance team has data residency requirements for authentication logs or MFA records, settle them before the tenant is created or before the Wazuh application is connected to it, since a later move means a new tenant. Entra ID is also offered in the US government cloud and in the China cloud, which is operated through a partnership with 21Vianet. These clouds use their own service endpoints, so the metadata URLs, sign-on URLs and certificate handling in this guide apply only to the commercial cloud unless you rebuild the configuration for the cloud you actually use. Verify the endpoints for your cloud in Microsoft's documentation before you copy any value into the Wazuh configuration.

Security settings for Entra ID sign-in to Wazuh

Signing in to the Wazuh dashboard through Microsoft Entra ID moves the front door to a cloud identity provider, so the security of the SSO path now depends on the Entra configuration as much as on Wazuh itself. The cards below set out the configuration intent for the enterprise application, the local fallback account, the signing certificate, network exposure and administrative control of the integration. Confirm exact settings against the Wazuh documentation and your own Entra tenant before you apply them.

Require MFA through conditional access

Create a named Conditional Access policy that targets the Wazuh enterprise application and requires multifactor authentication for every sign-in, with sign-in risk evaluated before access is granted. Name the policy so auditors and on-call staff can find it quickly. Check the policy in the sign-in logs with a test analyst account and a test administrator account, because a policy that targets the wrong application will not protect the dashboard. Scope the policy to the Wazuh app, not the whole tenant, and test it first.

Wazuh SSO docs

Restrict assignment to required groups

Turn on the setting that requires user assignment for the enterprise application, so only users or groups you have assigned can obtain a token for Wazuh. Assign the security analyst and administrator groups and nothing broader, such as all employees or all contractors. Review the assignment list on a fixed schedule and remove people who change roles. This control stops a valid Entra account from reaching the dashboard just because it exists in the tenant.

Keep a tested local admin account

Keep the local administrator account that the Wazuh dashboard uses independently of SAML, with a long, unique password stored offline in a sealed or access-controlled location. Test the break-glass procedure before go-live: sign in with the local account, confirm admin rights, and record who approved the use. The account is the recovery path if Entra, the certificate or the claim mapping fails, so it must not depend on the same identity provider it protects against.

Protect and track the signing certificate

The SAML signing certificate lets Wazuh verify that assertions came from your Entra tenant, so its private material must stay within Entra and its expiry must be tracked. Record the expiry date in your certificate calendar and set a renewal reminder well before it lapses. Plan how the new certificate will reach the Wazuh configuration, and confirm with your Wazuh deployment whether the change needs a restart or a maintenance window. An expired certificate locks out every SSO user at once.

Limit dashboard and API exposure

Restrict network paths to the Wazuh dashboard and its API to the addresses that the security team uses, such as a management network, a VPN or a jump host. Do not publish the dashboard to the open internet just because SSO is in place. Confirm which ports and listeners are reachable from user networks and remove anything unused. Use the Wazuh hardening guidance to review API exposure and default settings, since SSO does not close paths that bypass the login page.

Review Entra admins who can change the app

Identify every Entra role that can edit the enterprise application, its claims, its certificates or its group assignments, and reduce that list to the people who operate the Wazuh integration. Changing a claim mapping or adding a group to the app can grant a wider audience dashboard access without any change on the Wazuh side. Review these role holders on a schedule, and log who changed the application. Privileged role assignments should use the controls your organization already applies to other administrative tools.

How to test Wazuh SSO before cutover

Before you switch the Wazuh dashboard to Microsoft Entra ID sign-in, run a test plan that covers every path a real user can take. The minimum set is one test account for each role you have mapped from an Entra group, plus one account that belongs to no mapped group, one disabled account, and one account that you remove from a role group while its session is still open. For each account, record the sign-in result, the role the dashboard assigned, and the time of the test. Use accounts that resemble production users, not only administrators, because role mapping errors usually show up for ordinary analysts first.

For each mapped role, confirm the user lands only on the dashboards and management pages that role permits, and try one page outside that set to confirm it is refused. The user with no mapped group should be refused cleanly with a clear message, not a blank page or a session that opens with default rights. The disabled account should fail at Entra ID before it reaches Wazuh. For the mid-session test, remove the group membership, then check whether the open session still holds the old role and how long that takes to change. Ask your Entra administrator to confirm the token lifetime and Wazuh session behavior in your environment rather than assuming them.

Test the break-glass local admin login with SSO turned off, and confirm it still works before you rely on it for cutover. Then confirm that sign-ins appear in the audit or dashboard logs you intend to use for review, including the Entra user, the outcome and the assigned role. Keep the test results, screenshots, group membership exports and the configuration record together with the change ticket so an auditor or incident responder can trace the decision. Finally, rehearse certificate rollover in a non-production instance before the first signing certificate expires, following the steps in the Wazuh single sign-on documentation and the Entra enterprise application settings, and confirm the expiry date in your own tenant.

Common Entra ID and Wazuh SSO failures and their fixes

This table pairs each common symptom in Entra ID to Wazuh dashboard SAML sign-in with a likely cause and a check you can run. Work down the rows in order when a login fails, because the first failing check usually points to the cause. Treat each fix as a diagnostic step to confirm in your own environment, not a guaranteed result.

SymptomLikely causeCheck or fix
Redirect loop or invalid reply URL errorThe Assertion Consumer Service URL in the Entra enterprise application does not match the URL the Wazuh dashboard sends, often because of a trailing slash, http versus https, or a different hostname.Compare the reply URL in the enterprise application's single sign-on settings with the dashboard SAML configuration character by character, then retry from a private browser window.
SAML response signature or certificate errorThe signing certificate in Wazuh is out of date or is not the active certificate in Entra, or the Wazuh config points to a certificate file that was replaced.Confirm which signing certificate is active in the Entra enterprise application and that the same certificate is installed in the Wazuh SAML settings, then restart the dashboard service.
User signs in but gets no roleThe group claim is missing from the SAML response, or the role mapping uses the group name where Entra sends the group object ID (or the reverse).Inspect a SAML response from a test sign-in, confirm the group claim is present and its value matches the identifier in the Wazuh role mapping, and check that the user is assigned to the group.
Group claim missing for users in many groupsEntra limits how many group memberships fit in a token, so the response is replaced by an overage indicator and the group claim does not appear.Test with a user in few groups, then restrict the claim to security groups assigned to the application, or ask your identity team to confirm the overage behavior for your tenant.
Assertion rejected with time or validity errorsClock skew between the Wazuh host, the browser and Entra, or an assertion validity window that is too narrow for the server time.Check the time sync service (NTP or equivalent) on the Wazuh server, confirm the host clock matches a trusted source, and compare timestamps in the SAML response with server logs.
User blocked by conditional access or MFA prompts failA conditional access policy targets the application and the user has no registered MFA method, is outside an allowed location, or uses a non-compliant device.Open the sign-in log for the user in Entra, read the conditional access result and failure reason, then confirm the policy scope and that the user has registered the required MFA method.
Dashboard shows the old role after a group changeThe user's existing Wazuh session still holds the role from the earlier sign-in, or the group change has not yet reached the token because the user has not signed in again.Have the user sign out fully and close the browser, sign in again, and check the group membership in the new token. Confirm session lifetime settings in the dashboard before relying on role changes taking effect.

Questions buyers ask about Wazuh SSO with Entra ID

What does Wazuh SSO with Entra ID cost, and what drives the price?

The cost is driven by the amount of design and configuration work, not by a license for Wazuh, because the self-hosted Wazuh software is open source with no license fee. The main drivers are the number of Wazuh roles you need to map, how many Entra groups must be created or cleaned up, whether users come from on-premises Active Directory through Entra Connect or are cloud-only, how many environments (test and production) must be configured, the conditional access design you want, and whether the Wazuh server runs as a cluster. Each of these adds configuration, testing and documentation. Ask any quote to break out the enterprise application setup, group claim design, role mapping, conditional access work, testing with test users, and the handover document, and to state which items are one-time and which recur, such as later role changes.

How long does Entra SSO for Wazuh take to set up?

The duration depends on how much of the design is already settled. Teams that already have clean security groups, a documented role model and a working Wazuh test environment can finish faster than teams that must first decide who gets which Wazuh role. The largest variables are group ownership decisions, any dependency on on-premises synchronization, change windows for the production dashboard, and the number of rounds needed for test logins across administrator and analyst roles. No fixed duration applies to every environment, so ask for a timeline tied to the written scope and to the dates your change board allows.

Can our own team set up Wazuh SSO with Entra ID without outside help?

Yes, a capable internal team can do this alone if it has two skill sets: administrator access to the Microsoft Entra tenant with the ability to create enterprise applications and groups, and administrator knowledge of the Wazuh dashboard, its user and role configuration and its SAML settings. A separate test environment is strongly advisable so that a misconfigured claim does not lock staff out of production. Teams that lack one of these skills, or that need an independent reviewer for the security design, often bring in a partner for a fixed-scope piece of the work. Check the Wazuh SSO documentation before you start, since the setup steps and supported options are described there.

What do we need to provide before the Entra SSO work starts?

The engagement needs several inputs from your side before work begins:

  • Tenant administrator access, granted for the period of the work and recorded in your change process
  • Decisions from the owners of each Entra group on which users should receive which Wazuh role
  • A list of test users covering each intended role, including at least one user who should be denied access
  • Agreed change windows for the production Wazuh dashboard and a named contact who can approve changes
  • Access to the Wazuh environment, including a test instance where SSO can be tried first

Agreeing these items in the written scope avoids delays that come from waiting for decisions midway through the build.

Which Microsoft Entra license do we need for Wazuh SSO?

Microsoft Entra ID Free is included with Microsoft cloud subscriptions such as Azure and Microsoft 365 and provides multifactor authentication, single sign-on to SaaS apps, basic reports and self-service password change, so SAML sign-in to the Wazuh dashboard can run on it. Microsoft lists Entra ID P1 from $7.00 per user per month and P2 from $10.00 per user per month with annual commitment, and P1 is included in Microsoft 365 E3 and Business Premium. Confirm the exact features and prices for your agreement with Microsoft, because your enterprise terms may differ from the public list. Conditional access policies and the reporting you need should be checked against the features included in your tier before you finalize the design.

Should we keep a local admin account if we use Entra SSO?

Yes, keep a local break-glass administrator account in the Wazuh internal user database. If the identity provider is unreachable, a misconfigured claim removes role mapping, or a conditional access policy blocks sign-in, the local account is the way back into the dashboard. Store its credentials in a controlled vault, restrict who can use it, test that it still works after each change, and log its use. Review whether SSO users have any remaining path to bypass Entra controls, since a local account with broad rights can weaken the conditional access design you built.

How DeployOpen scopes and delivers Wazuh SSO with Entra ID

DeployOpen starts by agreeing in writing what the Wazuh dashboard sign-in will cover, including the Entra ID tenant, the group claims and the roles each group receives. We then build and test the SAML connection in your environment, document the configuration and hand it over to your team, with optional retainer support afterward.

How we scope

  • Confirm which Entra ID tenant, groups and users will sign in to the Wazuh dashboard and which Wazuh roles each group maps to.
  • Record the Wazuh deployment details, network path and dashboard address that the enterprise application must reach.
  • Agree the conditional access policies, MFA requirements and break-glass local admin approach in a written scope before work starts.

How we build

  • Create and configure the Entra enterprise application and SAML settings, then set the group claims that Wazuh reads for role mapping.
  • Map Entra groups to Wazuh roles in the dashboard configuration and test each role with a named test account.
  • Apply conditional access and confirm the fallback admin login still works before the SSO path is opened to general users.

How we hand over

  • Deliver a configuration record covering the enterprise application settings, claim names, group-to-role mapping and certificate expiry dates.
  • Provide a test script and results showing which groups reach which dashboard roles, including the denied cases.
  • Walk your identity and security teams through the sign-in flow, the break-glass procedure and how to add or remove group mappings.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after the initial handover.
  • Retainer work can cover Wazuh upgrades that affect SAML settings and changes to Entra group structure or conditional access.
  • Ask any provider to confirm in writing which Wazuh and Entra changes their quote includes and which remain with your team.

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.