How SCIM provisioning keeps Metabase accounts in step with Okta and Entra ID
In a self-hosted Metabase where accounts are created by hand, access tends to outlive employment because nobody is told when someone leaves. Metabase supports user provisioning with SCIM at the endpoint /api/ee/scim/v2, officially for Okta and Microsoft Entra ID, and it is available only on Pro and Enterprise plans. If you run Open Source or Starter, SCIM is not an option, and you will need to plan leaver removal another way. Confirm the plan and the license before you scope the work.
The core behavior is that the identity provider drives the Metabase account. When a user is created, updated or assigned to the Metabase application in Okta or Entra ID, a matching account is created or updated in Metabase. When the user is deactivated in the identity provider, the Metabase account is deactivated too, which is the control that closes the leaver gap. Two side effects matter for your design: SAML user provisioning is always disabled once SCIM is enabled, so the SAML setup for sign-in has to be reviewed as part of the same change, and group membership can be synchronized so that Metabase groups are created and populated from identity provider groups. Decide early which groups will drive permissions, because those groups will carry data access.
For Okta, Metabase SCIM supports both user and group provisioning, with HTTP Header authentication mode. Confirm with Metabase's current documentation which options apply to your Entra ID setup before you assume parity, and test deactivation with a pilot account before you rely on it for leavers. The user provisioning guide in the Metabase documentation is the source to check for the exact settings and the current supported behavior.
What you need before enabling SCIM in Metabase
SCIM provisioning in Metabase depends on a plan, a reachable instance, an identity provider admin role and a clear group plan. Work through these cards before you open the provisioning settings in Okta or Entra ID, because each one changes what you build later.
Pro or Enterprise plan
SCIM provisioning is available only on Metabase Pro and Enterprise. Open Source and Starter cannot use the /api/ee/scim/v2 endpoint, so a self-hosted Open Source instance needs a plan change before any sync work starts. Confirm the plan with your Metabase account contact and check the current prices on the pricing page, since Pro is billed per month with users beyond the included count charged separately.
- Required plan
- Pro or Enterprise
HTTPS reachability from the provisioning service
Okta and Entra ID send SCIM requests from their own provisioning services, not from your laptop. Your Metabase must be reachable at a public or otherwise routable HTTPS address that those services can call, and the certificate must be trusted by them. Check firewalls, reverse proxies and any IP allowlists, and test the endpoint from outside your network before you configure the connector.
Admin rights in the identity provider
You need an account in Okta or Microsoft Entra ID that can create and manage enterprise applications, generate or rotate the SCIM credential, assign users and groups, and view provisioning logs. Agree who holds this role and who approves changes, because the connector controls which accounts are created and deactivated in Metabase.
Metabase admin access for setup
Someone with Metabase admin rights must enable SCIM and handle the token or header configuration on the Metabase side. Confirm which admin will own the setup, where the credential will be stored, and who can rotate it later, so the SCIM connection does not depend on a single person.
Group sync scope
Decide which Okta or Entra ID groups will create and populate groups in Metabase before you assign anything. Syncing every group can produce unused Metabase groups and broader permissions than intended, while a narrow scope is easier to review. Map each synced group to a permission purpose, and record which groups will not sync.
Version and connector checks
Confirm the Metabase version you run is supported and that the SCIM behavior you need is documented for it. Also confirm which SCIM connector options your Okta or Entra ID tenant currently offers, since provisioning features and authentication modes can change. Record both answers in your change ticket and test in a staging instance first.
SCIM docsConfiguring SCIM in Metabase, then Okta or Entra ID
This sequence turns on SCIM in Metabase, connects Okta or Microsoft Entra ID to the same provisioning endpoint, and proves that a deactivation in the identity provider removes access in Metabase. Each step ends with a check you can record before moving on.
Confirm the plan and prerequisites
Before changing any settings, confirm that the Metabase instance runs a Pro or Enterprise plan, since SCIM provisioning is available only on those plans. Confirm that you have a Metabase admin account, that the instance is reachable over HTTPS from the identity provider's provisioning service or agent, and that SSO is already working for the Metabase instance. Check with your identity team which identity provider groups will map to Metabase groups. The step is done when a Metabase admin can open the admin settings and the plan is confirmed in writing internally.
Enable SCIM and generate the token
In the Metabase admin settings, enable SCIM and generate the SCIM token. Store the token in your organization's secrets manager straight away, because it is the credential the identity provider uses to call the endpoint and it should not sit in a ticket or chat thread. Note the base URL for the endpoint, which is the Metabase address followed by /api/ee/scim/v2. Check that the token was generated and that the SCIM setting shows as enabled. Metabase disables SAML user provisioning while SCIM is enabled, so confirm with the team that owns SAML sign-in before you proceed.
Create the Okta application with HTTP Header authentication
In Okta, add a provisioning-capable application for Metabase and set the SCIM connector to HTTP Header authentication mode. Enter the Metabase base URL ending in /api/ee/scim/v2 and paste the SCIM token into the authorization header field. Test the connection from Okta. A successful test confirms that Okta can reach the endpoint and that the token is accepted. If the test fails, check the URL path, the token value, and whether the Metabase host is reachable from Okta's provisioning service.
Enable Okta user and group push
In the Okta application's provisioning settings, enable create, update and deactivate for users. Enable group push for the Okta groups you plan to map to Metabase, because Metabase's SCIM support for Okta creates and populates groups in Metabase. Assign a small pilot group that contains one or two test users. Check that the test user appears in Metabase with the expected name and email, and that the Okta group appears in Metabase's group list with the test user as a member.
Set up Entra ID provisioning against the same endpoint
In Microsoft Entra ID, create or open an enterprise application for Metabase and choose automatic provisioning. Enter the same base URL ending in /api/ee/scim/v2 and the same SCIM token, then run the connection test. Assign a pilot group that holds a test user and start provisioning. Confirm that the Entra ID test user is created in Metabase and that the attribute mappings produce the username and email values you expect. Note any attributes that Entra ID sends but Metabase does not store, so the mapping can be documented for the access review team.
Verify group population in Metabase
Check that the groups pushed from the identity provider contain the right members in Metabase, and that membership changes flow through. Add a test user to a pilot group in the identity provider and confirm the membership appears in Metabase after the next provisioning cycle. Remove the user and confirm the membership is removed. Record the group names and membership results in your change record. This check matters because Metabase permissions are assigned to groups, so incorrect membership leads directly to incorrect data access.
Confirm that deactivation removes Metabase access
Deactivate the test user in the identity provider and wait for the provisioning cycle to run. Then confirm in the Metabase admin people list that the account is deactivated and that the user can no longer sign in, using a private browser session. Repeat the test with an account that has an active session to confirm how existing sessions behave in your setup. Keep this result as evidence that leavers lose access when they leave the identity provider. Do not expand to production users until this check passes for both Okta and Entra ID.
How a change in the identity provider reaches Metabase
The change starts in Okta or Microsoft Entra ID, where an HR-driven update or an administrator action creates, changes or deactivates a user or group. The provisioning connector then calls Metabase's SCIM endpoint over HTTPS, and that HTTPS endpoint is the trust boundary between your identity provider and your self-hosted instance. Metabase writes the resulting user and group records to its application database, so check that deactivations appear there, and that the SCIM token and endpoint are reachable only from the provisioning service.
Identity provider changes flow through a SCIM endpoint into Metabase's application database.
How identity provider attributes and groups map to Metabase users and groups
This table compares each identity provider attribute or object that SCIM sends with what Metabase does with it, so you can check the mapping before go-live. Read it as a checklist: confirm each row against your Okta or Entra ID configuration and the Metabase SCIM docs, because exact handling can differ by provider. The main takeaway is that deactivation in the identity provider is the control that removes access, so verify that path first.
| IdP attribute or object | What Metabase does with it | What to confirm before go-live |
|---|---|---|
| userName (email style login) | Used to identify the Metabase user account, so it should be the stable, unique sign-in identifier for each person | Confirm which field Metabase matches on and that the value is unique and not reused after a leaver |
| name (givenName, familyName) | Populates the user's first and last name shown in Metabase | Confirm whether name changes are pushed on update and how Okta and Entra ID send them |
| emails (primary email) | Sets the account email used for notifications and, where matching applies, for linking the account | Check that the primary flag is set on the correct address in both providers |
| active flag | When false, deactivates the Metabase account; this is the main leaver control | Test by deactivating a test user in the identity provider and confirming sign-in is blocked in Metabase |
| Group membership | Creates and populates Metabase groups with the members the identity provider sends, which then drive data permissions | Confirm group names match the names you intend to use in Metabase permissions |
| User in no provisioned group | Access depends on whether the user still exists in Metabase and which groups they already hold; do not assume automatic removal | Ask the vendor or test how a user removed from all groups is handled and whether you need a default group |
| SAML user provisioning | Disabled when SCIM is enabled, so SCIM becomes the provisioning path for these users | Confirm no SAML-only account creation remains in use alongside SCIM |
Securing the SCIM token, endpoint and admin roles
A SCIM connection gives an identity provider standing power to create, change and deactivate Metabase accounts, so the token, the endpoint and the people who manage both need the same care as an admin login. The cards below cover the controls that keep provisioning trustworthy and confirm that leavers actually lose access.
Treat the SCIM token as a secret
The bearer token that Okta or Entra ID presents to the /api/ee/scim/v2 endpoint can create and deactivate users, so it is effectively an administrator credential. Store it only in the identity provider's secret field and your secret manager, never in tickets, chat or configuration files in source control. Plan a rotation procedure before go-live, including who rotates it, how the new value reaches the identity provider, and how a failed rotation is rolled back without a gap in provisioning.
Serve the endpoint only over HTTPS
Identity provider traffic carries the bearer token and personal data on every request, so the SCIM endpoint must sit behind TLS with a valid certificate that the identity provider trusts. Confirm the reverse proxy or load balancer terminates TLS on the Metabase hostname, and that plain HTTP to the same path is refused rather than redirected. Test from the identity provider's network path, since a firewall rule that works from your office can still block the provisioning agent.
Restrict who can change SCIM settings
In Metabase, enabling SCIM and viewing or replacing its token should be limited to a small set of administrators who also manage identity. Review the Metabase admin group membership against your change control records, and remove standing admin rights from people who only need to read reports. Document who may change the SCIM configuration and require a second approver for changes, because a single admin can otherwise redirect provisioning.
Limit admin rights in Okta and Entra ID
Assignments to the Metabase application in Okta or Entra ID decide which people and groups are provisioned, so the admins who manage those assignments control Metabase access. Restrict application administration to named identity staff, use role-based admin scopes where your tenant offers them, and log every change to app assignments and group membership. Confirm which group the provisioning rules read from, since a broad group can grant Metabase accounts to people who should not have them.
Keep SAML disabled while SCIM runs
Metabase always disables SAML user provisioning when SCIM is enabled, so the two must not be treated as interchangeable provisioning paths. Before switching on SCIM, check whether an existing SAML setup is used for sign-in, and plan how users will authenticate once SAML provisioning is off. Record this as a deliberate configuration decision so a later administrator does not re-enable SAML provisioning and create conflicting account sources.
Test leaver deactivation and review logs
Deactivation in the identity provider should deactivate the Metabase account, so verify that with a test user before relying on it. Unassign a test account in Okta or Entra ID, confirm it is deactivated in Metabase and that its existing sessions no longer work, then keep the identity provider's provisioning logs and Metabase's admin activity for the review period your policy requires. Repeat the test after every token rotation, provider change or Metabase upgrade.
SCIM provisioning docsWhy SCIM requests fail or leavers keep access
This table lists the failures teams most often hit when wiring Okta or Entra ID to Metabase SCIM, with the likely cause and fix for each. Read it while testing a provisioning connection, and start from the Metabase SCIM docs when a fix depends on your exact setup. The main takeaway is that leavers keep access mostly because the account was never deactivated, not because SCIM is broken.
| Symptom | Likely cause | Fix to check |
|---|---|---|
| Endpoint returns errors from the start | SCIM is not available on the installed plan | SCIM requires Pro or Enterprise. Confirm the plan in Metabase admin before debugging the connector. |
| Provisioning requests fail authentication | Wrong base URL or SCIM token | Confirm the base URL points to /api/ee/scim/v2 on your Metabase host and that the token was generated for SCIM and copied in full. |
| Okta sign-in or provisioning fails after setup | HTTP Header authentication mode misconfigured in Okta | Check the authentication mode and header settings in the Okta app against the Metabase SCIM docs, then test a single user assignment. |
| Users created but groups stay empty | Group push or membership not enabled, or group names differ | Enable group provisioning in the identity provider and confirm the group names match what Metabase should create and populate. |
| Removed user still has a working account | Assignment was removed, but the Metabase account was not deactivated | Deactivation must be sent by the identity provider as a user update. Confirm deactivation is triggered, not just unassignment from the app, and verify the account is inactive in Metabase. |
| Login works through SAML but SCIM changes seem ignored | SAML user provisioning conflicts with SCIM | SAML user provisioning is always disabled when SCIM is enabled. Remove SAML-based provisioning settings and rely on SCIM for lifecycle changes. |
| Sign-in still succeeds for a deactivated user | Active sessions or a second sign-in path remain | Test with an existing session, confirm the account state in Metabase, and review any local or Google sign-in paths that could still reach the account. |
Questions buyers ask before setting up SCIM for Metabase
Does SCIM provisioning for Metabase require a paid plan?
Yes. Metabase supports user provisioning with SCIM only on the Pro and Enterprise plans, so it is not available on Open Source or Starter. The same plan gate covers SSO through SAML and OIDC and advanced LDAP group and attribute sync, so a team that wants SCIM usually also needs to confirm its SSO setup is on the same tier. Check the current plan details on the Metabase pricing page before you commit, because plan contents can change.
What does SCIM cost beyond the plan itself?
The plan is the main recurring cost, and the per-user price depends on the plan. On the pricing page, Pro is listed at $575 per month or $517.50 per month billed yearly, with the first 10 users included and additional users at $12 per month. Enterprise is quoted by sales, starting at $20,000 per year. SCIM itself adds no separate license line in the supplied facts. Beyond licensing, you pay for the internal time or partner effort to configure the identity provider, map groups, test deactivation, and run the change. Ask any partner for a quote built from the written scope, and separate one-time setup from ongoing review.
How long does a SCIM setup take, and what makes it longer?
The duration depends mainly on how clean your identity provider data is and how many groups you plan to sync. Setup typically involves creating the SCIM application in Okta or Microsoft Entra ID, pointing it at the Metabase SCIM endpoint, choosing which users and groups to push, and testing create, update and deactivate events with a few test accounts. Longer projects usually involve group design decisions, multiple Metabase instances, or disagreement about which group owns access. Confirm the current steps and endpoint details in Metabase's user provisioning documentation before you set a schedule.
Can an internal team set up SCIM for Metabase without a partner?
Yes, if the team has someone comfortable administering the identity provider and a self-hosted Metabase instance. The configuration is largely about connecting the two systems, which an experienced admin can do by following Metabase's documentation. A partner adds value when the group model is complex, when the team has no one who has run SCIM before, or when deactivation must be verified for audit purposes. Whichever route you choose, test a leaver end to end in a non-production instance first, and write down who owns each step.
What do identity and Metabase admins need to provide?
Identity admins need to create and manage the SCIM application in Okta or Microsoft Entra ID, decide which users and groups are in scope, and set up the deactivation rules that will drive offboarding. Metabase admins need a Pro or Enterprise license, an administrator account, the ability to generate the SCIM token or authentication setup, and a place to test changes before production. Both teams should agree on a group naming scheme and a named owner for the change. Ask any partner to list these inputs in writing as part of the scope.
Does SCIM replace single sign-on for Metabase?
No. SCIM and SSO do different jobs. SSO controls how people sign in, while SCIM controls whether accounts exist in Metabase and whether they are active. Metabase's documentation says SAML user provisioning is always disabled when SCIM is enabled, so the SSO design needs to be planned with that constraint in mind. The practical result is that deactivating a person in the identity provider can deactivate their Metabase account, which closes the leaver gap that SSO alone leaves open. Confirm with your identity team which login method will be used once SCIM is active.
What goes wrong with leavers if SCIM is not configured?
Without provisioning, a person can be disabled in Okta or Entra ID while their Metabase account stays active, which means they may still be able to sign in through any local or other path that remains open. SCIM closes that gap when deactivation in the identity provider flows through to Metabase. Test this explicitly: create a test user, grant a group, deactivate the user in the identity provider, and confirm the Metabase account is deactivated. Record the result as evidence for your access review.
What DeployOpen scopes when we set up Metabase SCIM
DeployOpen fixes the SCIM scope in writing before any configuration starts, because most provisioning failures trace back to assumptions nobody recorded. The written scope names the identity provider (Okta or Microsoft Entra ID), the tenant or org and the admin roles that will create the SCIM application, and the Metabase instance that will receive the provisioning calls. It also states which Metabase plan the instance runs on. SCIM is only available on Pro and Enterprise, so an open source or Starter instance is a scoping finding in its own right, and the decision to upgrade belongs to the client before the build begins.
The scope then lists the groups that will be pushed into Metabase. With Okta, the supported model is user and group provisioning with the HTTP Header authentication mode, so the group list should be agreed by name and owner, not left to whatever the directory happens to contain. Each group should map to a Metabase group that already has a defined permission set, because SCIM creates and populates groups but does not decide what those groups can see. The scope also records where the Metabase instance is hosted, how the SCIM endpoint at /api/ee/scim/v2 is reached from the identity provider, and who owns the token used for authentication.
Finally, the scope defines the leaver test plan. DeployOpen will agree with the client which test accounts are used, which identity provider action counts as a leaver (deactivation, group removal or unassignment), and what evidence is recorded, such as the Metabase account status before and after. Because SAML user provisioning is disabled whenever SCIM is enabled, the team should also confirm in advance how existing SAML-created users will be matched. Confirm the exact Okta and Entra ID steps against the current Metabase user provisioning documentation and your own tenant before the scope is signed.
How DeployOpen delivers and supports Metabase SCIM provisioning
DeployOpen scopes, builds, tests and hands over SCIM provisioning between Okta or Microsoft Entra ID and a self-hosted Metabase, inside infrastructure you control. The written scope fixes what is covered, so deactivation in the identity provider can be verified before go-live.
How we scope
- Confirm your Metabase plan covers SCIM, since it requires Pro or Enterprise.
- Record which identity provider, Okta or Entra ID, is the source of truth for each user.
- Agree in writing which groups will be created and populated in Metabase.
- Document the leaver process and who owns deactivation checks in the identity provider.
How we build
- Configure the SCIM endpoint at /api/ee/scim/v2 and the provisioning connector in your identity provider.
- Set up user and group attribute mapping, including the HTTP Header authentication mode for Okta.
- Test create, update and deactivate events with pilot accounts before wider rollout.
- Confirm that SAML user provisioning is disabled while SCIM is enabled, as the product requires.
How we hand over
- Deliver a runbook covering provisioning flows, group mappings and rollback steps.
- Walk your identity and Metabase administrators through a leaver test they can repeat.
- Provide a written record of configuration choices, owners and open risks for your review.
How we support
- Offer ongoing support, upgrades and continuous testing as a retainer after handover.
- Retest provisioning after Metabase upgrades or identity provider changes that touch SCIM.
- Keep the scope, runbook and test evidence current for your access review cycles.

