How Metabase SAML SSO with Microsoft Entra ID works
Metabase's documented way to sign staff in with Microsoft Entra ID is SAML through a non-gallery enterprise application, and SAML SSO is available only on the Pro or Enterprise plan, according to Metabase's pricing page. Open source and Starter installations cannot use this setup, so confirm your plan before the identity team starts configuring Entra ID. The work splits into two sides: Entra ID issues the sign-in assertion, and Metabase checks it and decides who gets an account. Each setting in the Entra ID app is a handshake with a matching value in Metabase's SAML settings.
The Entity ID (Identifier) is the name Entra ID uses for the Metabase application, and Metabase must expect the same value. The Reply URL (Assertion Consumer Service) is the address where Entra ID sends the signed response, and it must match the Reply URL that Metabase displays in its SAML settings exactly, including scheme and path. Entra ID then gives you a Login URL, a Microsoft Entra Identifier (the issuer), and Federation Metadata XML, which carries the signing certificate. Metabase's Entra ID guide uses the Login URL, Microsoft Entra Identifier and the Federation Metadata XML certificate in Metabase's SAML fields. Ask your identity team to export the metadata from the same tenant that will be used in production.
User assignment controls who can sign in at all. If assignment is required on the enterprise application and a user or group is not assigned, Entra ID refuses the sign-in before Metabase sees it, which is the first place to look when a user cannot get in. Group claims are a separate decision: they decide whether group membership travels inside the SAML response so Metabase can map it to its own groups. Confirm the claim format and attribute names with the Metabase documentation, since mapping rules are covered in the group mapping section of this guide.
What you need before you start Metabase Entra ID SSO
Six items need to be in place before you open the Entra ID admin center. Each one removes a common reason a SAML sign-in fails on the first attempt, and most of them sit with people outside the Metabase team.
A Pro or Enterprise plan
SAML is not included in the open source edition or Starter. Metabase's pricing page places SSO in the Pro and Enterprise plans, and Pro is listed at $575 per month or $517.50 per month billed yearly with the first 10 users included. Confirm with Metabase which plan and license key your instance will run before scheduling the work, because a SAML setup on a lower plan will not complete.
Metabase pricingA stable HTTPS Metabase URL
Entra ID needs the Reply URL and Entity ID to match Metabase's SAML settings exactly, so the public address of your instance must not change after setup. Run Metabase behind TLS at a fixed hostname, and confirm the site URL in Metabase's admin settings matches that hostname. A test host with a different name will produce signed responses that the production instance rejects.
Entra ID admin rights
You need a role in the Microsoft Entra tenant that can register enterprise applications and assign users and groups to them. Application Administrator or Cloud Application Administrator are the usual roles, but confirm with your tenant administrator which role your organization uses for enterprise application changes, especially if conditional access or app consent policies are restricted.
An access plan for users and groups
Decide before configuration which Entra ID users and groups should reach Metabase, and which Metabase groups they should map to. Write down the group names and their intended Metabase permissions. Illustratively, a finance analyst group might map to a Metabase group that can see only the reporting database. Settling this first keeps the claim design and the assignment list from being rebuilt later.
A network path from Entra ID
Users are redirected from Entra ID to the Metabase login endpoint through their browsers, and the signed response is posted back to Metabase. Check that your reverse proxy, firewall and any web application firewall allow those requests to reach the SAML callback path, and that users on your identity network can reach the public Metabase address. Blocked callbacks often look like generic login failures.
Confirm version and tenant settings
The SAML options, field names and Entra ID screens change over time, so verify the steps against the documentation for your exact Metabase version before you start. Also confirm tenant-level settings such as conditional access, user assignment required and certificate lifetime with your Entra ID administrator. Record the Metabase version and the tenant settings you checked so the setup can be reproduced during an upgrade.
Entra ID SAML guideConfiguring Metabase and Entra ID in sequence
This sequence takes you from an empty Entra ID tenant to a working Metabase SAML sign-in, with each step producing a value or check that the next step depends on. Work through it in order, because the Entity ID and Reply URL must be copied from Metabase before the Entra ID application is saved.
Create a non-gallery enterprise application
An Entra ID administrator opens the Microsoft Entra admin center, goes to Enterprise applications, and creates a new application using the option to build your own application that is not in the gallery. Name it so your identity team can recognize it, such as Metabase production. The check is that the application overview opens and shows a Single sign-on section, which you will configure in the next steps. Keep this administrator session open, since you will switch between Entra ID and Metabase several times.
Copy the Entity ID and Reply URL from Metabase
In Metabase, an admin opens the SAML settings in the admin area and copies the Entity ID (Metabase's identifier) and the Reply URL that Metabase shows for this instance. Both values must match the public address users reach, including the scheme and hostname, so confirm the Site URL in Metabase is correct before you copy them. The check is that you have both values saved in your change record, ready to paste into Entra ID.
Set the Identifier and Reply URL in Entra ID
Back in the Entra ID application, the administrator selects Single sign-on, chooses SAML, and edits Basic SAML Configuration. The Identifier (Entity ID) is set to the value Metabase shows, and the Reply URL is set to the Metabase Reply URL, copied exactly. The check is that the Basic SAML Configuration panel saves without a validation error and displays both values exactly as they appear in Metabase.
Download the Federation Metadata XML and note the Entra values
In the SAML-based Sign-on section of the Entra ID application, the administrator records the Login URL and the Microsoft Entra Identifier, then downloads the Federation Metadata XML file. Entra ID also shows a signing certificate, which should be valid and current before you rely on it. The check is that you hold the Login URL, the Microsoft Entra Identifier, and the certificate or metadata file, and that the metadata file opens and contains an entity descriptor for your tenant.
Enter the identity provider settings in Metabase
In Metabase's SAML settings, an admin enters the Login URL and Microsoft Entra Identifier, and uploads the Federation Metadata XML certificate, following the values you recorded. Save the settings but do not enable enforcement for all users until the test is complete. Note that SAML requires a Pro or Enterprise plan, so confirm your plan before you start. The check is that Metabase saves the SAML configuration without an error about the certificate or the URLs.
Assign users and groups to the application
In Entra ID, the administrator opens Users and groups for the application and assigns the accounts or groups who should be able to sign in to Metabase. If you plan to map groups to Metabase groups, configure the group claim in the Single sign-on attributes so group membership is sent in the SAML response, and confirm the claim name matches what your Metabase group mapping expects. The check is that a test user appears under Users and groups with the intended access, and that the group claim shows the expected group values in the sign-in details.
Test a sign-in and verify the account
Open a private browser window, use the Test single sign-on option in Entra ID or start from the Metabase login page with a assigned test user, and complete the sign-in. The administrator then checks that the Metabase account was created or matched to the right email address and that its group memberships are what you expect. The check is a successful test login with the correct account and groups, after which you can decide whether to make SAML the required sign-in method for your team.
How Entra ID sign-in reaches Metabase
When a user opens your Metabase URL and chooses SAML sign-in, the browser is redirected to Microsoft Entra ID with a SAML authentication request. Entra ID checks the user's session, applies any conditional access policies, and returns a signed SAML response to the browser, which posts it back to Metabase's reply URL (the Assertion Consumer Service endpoint). That response is the only thing Metabase sees about the user. It carries the user's identity, usually the email address used as the NameID, plus any attribute statements and group claims you configured on the enterprise application. Metabase validates the signature with the federation metadata certificate you loaded, reads the attributes, and creates or updates the matching Metabase account. Group claims then drive group membership, so the claim values you emit in Entra ID must match what your mapping in Metabase expects.
The Entity ID and reply URL are matching keys, and both must match exactly. Entra ID uses the identifier to decide which application the assertion is for, and it sends the assertion only to a reply URL registered on that application. Metabase compares the audience and destination values against its own configuration. A trailing slash, a different hostname, or an http address where your users reach https will break the flow, usually with an error before any user record is created. Confirm both values against the SAML settings page in your running Metabase instance, not against a copy in a runbook, and check them again whenever the public URL changes.
The signing certificate in Entra ID also has a lifecycle that affects Metabase. Entra ID signs assertions with a certificate that expires, and when you create a new one and make it active, Metabase must trust the new federation metadata or it will reject every sign-in. Plan the rotation window with the people who operate Metabase, confirm the expiry date shown in the enterprise application, and test sign-in after each change. Confirm with Microsoft's and Metabase's current documentation how the metadata URL or XML should be refreshed in your version, because the steps for replacing the certificate are not covered by the supplied facts.
Sign-in requests move from the browser through Entra ID and back to Metabase
The diagram starts with a user opening Metabase in a browser, which redirects to the SAML endpoint of the self-hosted instance. Metabase issues a SAML authentication request, and the browser carries it to Microsoft Entra ID, where the user signs in under the organization's tenant. Entra ID returns a signed SAML response through the browser to the reply URL, and Metabase checks it against the federation metadata certificate before creating the session. The trust boundary separates the organization's Entra tenant from the Metabase instance you host, so check the certificate, Entity ID and reply URL on both sides.
Login flow between the browser, Metabase and Entra ID, with the tenant and instance trust boundary marked.
Entra ID attributes and groups mapped to Metabase users and groups
This table compares each identity value Entra ID sends in the SAML response with the Metabase user or group field it feeds. Read it before you configure claims, so you can confirm names in your own tenant and know which group behavior depends on a Pro or Enterprise plan. The main takeaway is that a stable user identifier and a correct email claim matter most, and group sync needs a paid plan.
| Entra ID value | Metabase field or behavior | What to confirm |
|---|---|---|
| Unique user identifier (NameID or object ID) | Ties the Metabase account to the same person across sign-ins | Use a value that does not change when a user's email or display name changes |
| User email claim | Sets the Metabase account email used for login and notifications | Confirm the claim name and that the value matches the address users sign in with |
| Given name and surname claims | Populates the first and last name on the Metabase user profile | Check the claim names in your tenant, since they may differ from the defaults |
| Group claim (group names or object IDs) | Used to place users into Metabase groups when group mapping is enabled | Requires a Pro or Enterprise plan; confirm whether your tenant emits object IDs or display names |
| Group overage handling | Large group memberships may not arrive in the token as a full list | Confirm with your Entra ID administrator how overage is handled before relying on group sync |
| Custom attribute claims | Advanced attribute sync for values beyond email, name and groups | Requires a Pro or Enterprise plan; confirm the attribute names your team plans to use |
| Unmapped or missing claims | Login can fail or accounts can lack expected groups | Test with a pilot user and review the claims in the sign-in response before rollout |
Questions buyers ask before setting up Entra ID SSO for Metabase
Does Entra ID SAML SSO for Metabase require a paid plan?
Yes. According to the Metabase pricing page, SSO is included only in the Pro and Enterprise plans, not in Open Source or Starter. Metabase's people and groups documentation lists SAML with documented setups for Entra ID as a Pro or Enterprise feature. Open source and Starter can use Google sign-in and LDAP instead. Confirm the current plan terms on the Metabase pricing page before you commit, because the pricing page is the source for which features each plan includes.
What drives the cost of setting up Entra ID SSO for Metabase?
The cost comes from three places: the Metabase license for the plan that includes SAML, the time your identity and BI teams spend on configuration, and any partner fee for the work. The license is recurring. For Metabase's published plans, Pro is listed at $575 per month or $517.50 per month billed yearly with the first 10 users included, and Enterprise is priced by quote starting at $20,000 per year. The setup effort depends on the number of applications, group design and testing scope. Ask any partner for a fixed-scope quote that lists the tenant review, configuration, testing and handover separately.
Can an internal team set up Entra ID SSO for Metabase without a partner?
Yes, if you have an administrator who can register an enterprise application in Microsoft Entra ID, a Metabase administrator who can enter the SAML settings, and someone who can test sign-in across user roles. Metabase's Entra ID guide walks through creating a non-gallery enterprise application, setting the Identifier (Entity ID) and Reply URL from Metabase's SAML settings, and entering the Login URL, Microsoft Entra Identifier and Federation Metadata XML certificate in Metabase. Teams without Entra ID or Metabase experience often choose a partner for the group claims design and the test plan, which are where most rework happens.
How long does Entra ID SSO setup for Metabase take?
The duration depends on tenant complexity, not on the Metabase steps themselves. A single tenant with a small set of users and a few groups is the simplest case. Longer work comes from multiple tenants or subsidiaries, conditional access policies that must be reviewed, group claims that need redesign, and a Metabase instance that is not yet on a paid plan. DeployOpen does not publish durations. Ask for a timeline in the written scope, and ask your Entra ID and BI owners to confirm the tenant details before the timeline is agreed.
What does the identity team need to provide for Metabase SAML?
The identity team needs to provide the enterprise application in the right tenant, the Login URL, the Microsoft Entra Identifier and the Federation Metadata XML certificate for entry in Metabase. They also need to decide which users are assigned to the application and how group membership is emitted as claims. Ask them to confirm who can change app assignments, who owns conditional access, and how certificate expiry will be tracked, because an expired signing certificate stops sign-in for every user.
What does the BI team need to provide for Entra ID SSO in Metabase?
The BI team needs to name the Metabase administrator, decide which Entra ID groups map to which Metabase groups, and confirm the permissions each group should have on data and collections. Group mapping is the part that determines what users can see, so it should be reviewed before go-live. Plan a test with a small set of accounts across each role, and document who approves changes to group mappings. Mapping design is covered in the group mapping guidance for identity provider groups.
Does the Entra ID setup need a separate plan for SCIM provisioning?
Yes, SCIM provisioning is listed by Metabase as a Pro or Enterprise feature, so it is not available on Open Source or Starter. SAML sign-in and SCIM are separate capabilities. Without SCIM, user accounts are created on first sign-in and group membership is updated from SAML claims, which can leave stale accounts in place. Confirm with your identity team which offboarding process applies, and check the current plan details on the Metabase pricing page before you design the deprovisioning steps.
Hardening Metabase SAML sign-in with Entra ID
Getting SAML working is only the first step. The decisions below determine who can sign in, how long access survives a certificate change, and whether anyone can still reach Metabase if the identity provider is down. Each card is a choice your team should make and record before the instance serves users.
Certificate lifecycle and rotation
The Federation Metadata XML certificate in Metabase must match the signing certificate Entra ID uses for the application. Entra ID issues signing certificates with expiry dates, and a certificate that expires or is replaced without a matching update in Metabase stops all SAML sign-ins at once. Decide who owns the expiry date, how far ahead of it the change is scheduled, and how the new federation metadata is loaded. Confirm the exact steps with Metabase's Entra ID guide before your first rotation.
Metabase Entra ID guideRestricting assignment to intended users
A non-gallery enterprise application can be configured so that only users or groups explicitly assigned to it can sign in through Entra ID. Decide whether assignment is required, and make sure the groups assigned to Metabase match the Metabase groups you intend to grant access. Without this check, any user in the tenant who reaches the application may be able to authenticate, and Metabase would then create or match an account for them. Verify with a test user who is not assigned that sign-in is refused.
Keeping a local admin path
If Entra ID is unavailable or the SAML configuration breaks, administrators still need a way into Metabase to repair it. Decide in advance which local administrator account remains usable, where its credentials are stored, and who can use them under which approval. Test that this path works before you enforce SSO for everyone. Confirm with Metabase's people and groups documentation how local password login behaves once SAML is enabled on your plan.
Enforcing MFA through conditional access
Metabase relies on Entra ID to verify the user, so the strength of the sign-in depends on the policies Entra ID applies before it issues a SAML assertion. Decide which conditional access policies apply to the Metabase application, such as requiring multifactor authentication, compliant devices or trusted locations. Confirm that the policy applies to the enterprise application itself and not only to a broader group of users, and test it with an account that should be blocked.
Limiting who can change SAML settings
The SAML configuration in Metabase controls where users are sent for login and which identity provider certificate is trusted. Decide which Metabase administrators can view or change these settings, and keep that list short and reviewed. Record each change to the SAML settings, including the certificate and reply URL, so a change that locks users out or accepts an unexpected identity provider can be traced. Confirm how your Metabase version records admin activity before relying on it for this review.
Why Metabase Entra ID login fails and how to fix it
This table lists the failures most often seen when a Metabase SAML login with Entra ID does not complete, with the likely cause and the fix for each. Work through the rows in order, starting with the plan check and the Entity ID and Reply URL, since those are the cheapest to verify.
| Symptom or failure | Likely cause | How to fix it |
|---|---|---|
| SAML option missing or login rejected in Metabase | The Metabase plan does not include SAML. Per Metabase's pricing page, SAML requires Pro or Enterprise. | Confirm the plan in the admin settings before troubleshooting Entra ID. Move to Pro or Enterprise if SSO is required. |
| Entra ID reports an error about the reply URL or identifier | The Identifier (Entity ID) or Reply URL in the Entra enterprise application does not match the values in Metabase's SAML settings. | Copy both values from Metabase's SAML settings again and paste them exactly, including the scheme, host and path. Save and retry. |
| Sign-in succeeds at Entra ID but Metabase rejects the response | The federation metadata or signing certificate in Metabase is outdated, expired or from a different enterprise application. | Download the current Federation Metadata XML certificate from the correct application and upload it to Metabase. Confirm the Entra Identifier and Login URL match that same application. |
| User gets an access denied message at Entra ID | The user or their group is not assigned to the enterprise application, or assignment is required and was not set. | Assign the user or group under Users and groups. Confirm the assignment requirement setting matches your access policy. |
| User signs in but has no Metabase groups or wrong permissions | The group claim is not included in the SAML response, or the group identifiers do not match the mapping in Metabase. | Add the group claim in the single sign-on attributes, check the claim values in a test sign-in, then update the Metabase group mappings to match those values. |
| Login loops back to the sign-in page or fails only through the proxy | The reverse proxy does not pass HTTPS correctly, so the site URL and the Reply URL differ in scheme or host. | Set the Metabase site URL to the public HTTPS address and confirm the proxy forwards the original protocol and host headers. |
| SAML assertion rejected with a time or validity error | The server clock is out of sync with Entra ID, so the assertion appears not yet valid or expired. | Check time synchronization on the Metabase host and the proxy, and correct the clock source before retesting. |
| Users other than the test account cannot sign in | Accounts were created earlier with password logins, or the user's email address in Entra ID does not match the Metabase account. | Compare the user's email and name attributes with the Metabase account and confirm the claim mapping sends the expected identifier. |
Keeping Entra ID SSO working through Metabase upgrades
SAML settings for Entra ID live in the Metabase application database, not in the JAR or in a file you can copy aside. That means the application database backup you take before an upgrade is also your backup of the SSO configuration: the SAML enablement, the identity provider settings imported from the federation metadata, and the group mappings you built for Entra ID groups. Treat the backup as incomplete if it was taken without confirming that the SAML settings are present in the restored copy. Metabase's upgrade guidance recommends backing up the application database first, and that step matters more here than it would for a team using local passwords. Confirm with your own environment which settings the backup must capture, and record the Entra ID Identifier and Login URL values alongside it so a rebuilt configuration can be checked against them.
Metabase runs application database migrations automatically when a newer JAR starts. Those migrations can change how authentication settings are stored, so a successful startup does not prove that SAML login still works. Plan a short retest after every upgrade: sign in with a test account assigned to the Entra ID enterprise application, confirm the user lands in the expected Metabase group, and check that an unassigned account is refused. Repeat the test with an account that belongs to a group you mapped, because group mapping is the part most likely to drift. Keep the Entra ID side unchanged during the test so that any failure points to Metabase. Ask your Metabase administrator to confirm which version the test was run against and to note the result in your change record.
Rollback has to restore the SSO configuration as well as the Metabase version. Metabase documents two routes: restoring the pre-upgrade application database backup, which is the recommended method, or running the migrate down command with the newer JAR. Choose the backup restore for SSO-enabled instances unless your own testing shows the migrate down route returns the SAML settings intact. Support timing also shapes the plan. Metabase LTS versions are supported for 14 months and non-LTS versions usually reach end of life after 2 months, so an instance that falls behind will eventually run an unsupported release with an identity configuration you have to rebuild under pressure. Schedule upgrades on the LTS line where possible, check the version support page for end-of-life dates before each change window, and confirm the Entra ID certificate expiry date so a certificate rotation is not scheduled in the same window as a major upgrade.
How DeployOpen works on this
DeployOpen plans and builds the Entra ID connection inside your own Metabase deployment and tenant, so your identity and security teams can review each setting before it goes live. The work is agreed in writing as a fixed scope, with the Entra ID configuration, group claims and verification steps documented for your team to run.
How we scope
- Confirm your Entra ID license tier, tenant layout and who owns the enterprise application.
- Confirm whether your Metabase edition and plan include SAML SSO, since this requires a paid plan.
- Agree in writing which group claims map to Metabase groups and who approves each mapping.
- Define the test users, sign-in scenarios and acceptance checks before work starts.
How we build
- Create the non-gallery enterprise application and set the Entity ID and Reply URL from your Metabase SAML settings.
- Load the federation metadata XML certificate and the Login URL into Metabase, with values recorded for review.
- Configure user assignment and group claims so membership follows your Entra ID groups.
- Test sign-in with assigned, unassigned and removed users, and confirm group changes take effect.
How we hand over
- Deliver a configuration record listing every Entra ID and Metabase setting, with its owner.
- Document the certificate renewal steps and the change process for group mappings.
- Walk your identity and platform teams through the test results and the rollback path.
- Provide a runbook for sign-in failures, covering the checks to run first.
How we support
- Ongoing support, Metabase upgrades and continuous testing are available as retainers.
- Re-test SSO after each Metabase upgrade, since the sign-in settings must keep working across releases.
- Review certificate expiry and group mapping changes on a schedule agreed in your scope.
- Ask DeployOpen to confirm the scope, deliverables and timeline in writing before any work starts.

