> ## Documentation Index
> Fetch the complete documentation index at: https://docs.braintrust.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# SCIM organization membership with Okta groups

> Map a dedicated Okta SCIM group to Braintrust organization membership and avoid missing-member errors with an Okta rule workaround.

> [!NOTE]
>
> **Applies to:**
>
> * Plan - Enterprise
> * Deployment - Any
> *
> * Use case - Map a Braintrust organization to an Okta SCIM group and avoid duplicate group maintenance with an Okta rule

> [!WARNING]
>
> SCIM provisioning is in [private preview](https://docs.braintrust.dev/feature-lifecycle.md), available to a limited set of customers. Behavior can change during the preview. To request access, [contact Braintrust](https://braintrust.dev/contact).

## Summary

Some pushed groups show users provisioned but marked "Needs attention" in the membership check. Braintrust uses one mapped SCIM group as the authoritative organization membership. Select or push a dedicated membership group in Okta, map it in ** Settings** > ** Permissions** > [**SCIM**](https://www.braintrust.dev/app/~/configuration/permissions/scim), then refresh and validate before enabling updates.

## What is happening

Braintrust treats a single mapped SCIM group as the source of truth for organization membership. Users pushed from other Okta groups may be provisioned but not counted as members of that mapped group. Permission-group mappings are separate. A user must be in the organization membership group and in any SCIM groups mapped to permission groups to receive those permissions.

See [How SCIM provisioning works](https://www.braintrust.dev/docs/admin/scim#how-scim-provisioning-works) for the full mapping model.

## Fix or suggestion

### Option 1: create and map a dedicated membership group

1. In Okta, create a group that includes everyone who should belong to the Braintrust organization.
2. Add that group under **Push Groups** and click **Push now**. See Okta's [About Group Push](https://help.okta.com/en-us/content/topics/users-groups-profiles/usgp-about-group-push.htm) and [Group Push prerequisites](https://help.okta.com/en-us/content/topics/users-groups-profiles/usgp-group-push-prerequisites.htm).
3. In Braintrust, go to ** Settings** > ** Permissions** > [**SCIM**](https://www.braintrust.dev/app/~/configuration/permissions/scim) and select the pushed group under **Organization membership**. See [Provision a group](https://www.braintrust.dev/docs/admin/scim#provision-a-group-to-braintrust) and [Map organization membership](https://www.braintrust.dev/docs/admin/scim#map-organization-membership).
4. Click **Refresh** or **Check members** and review items marked "Needs attention".
5. Click **Save** to store the organization membership mapping.
6. Only turn on **Enable SCIM updates** after the membership check looks correct.

### Option 2: use an Okta rule to copy members into a single group

1. Create an Okta [group rule](https://help.okta.com/en-us/content/topics/users-groups-profiles/usgp-about-group-rules.htm) that copies users from your existing assignment groups into a dedicated group such as `braintrust-users`. See Okta's [Create group rules](https://help.okta.com/en-us/content/topics/users-groups-profiles/usgp-create-group-rules.htm).
2. Push `braintrust-users` from Okta under **Push Groups** and select it in **Organization membership** in Braintrust.
3. Click **Refresh** or **Check members** and validate results.
4. Click **Save** to store the organization membership mapping.
5. Turn on **Enable SCIM updates** after validation.

Also set the Okta unique identifier attribute to `userName` for this integration, as described in the [Braintrust Okta SCIM setup](https://www.braintrust.dev/docs/admin/scim#okta).

## How to confirm it worked

* Run **Check members** or **Refresh** in ** Settings** > ** Permissions** > [**SCIM**](https://www.braintrust.dev/app/~/configuration/permissions/scim). All expected users should show as ready and no longer show "Needs attention".
* Test a sample user by adding and removing them in the Okta membership group, pushing the group, and confirming the change appears in Braintrust after `Refresh`.

## Notes

* Braintrust maps exactly one SCIM group to each organization. Permission-group mappings control access inside the org.
* Do not use the same Okta group for app assignment and for Group Push. [Okta does not support that pattern](https://help.okta.com/en-us/content/topics/users-groups-profiles/usgp-about-group-push.htm), and it can cause [groups to appear in the target app without their users](https://help.okta.com/en-us/content/topics/users-groups-profiles/usgp-group-push-troubleshoot.htm).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.