---
title: "Manage Groups"
url: "https://developer.incode.com/dashboard-platform-administration/manage-groups/"
section: "dashboard-platform-administration"
version: "v1.1"
status: "live"
---
# Manage Groups

> **Required permissions**: `roles:view` and `roles:assign`. To see a group's members, you also need `users:view`.

:::info
This page applies to organizations that have moved to the new sign-in.
:::


Groups let your identity provider, such as Okta or Microsoft Entra, decide who gets which role. You map a group to one or more Dashboard roles, and everyone in that group gets those roles. You manage groups in **Organization** > **Groups** in Dashboard.

Groups come from your identity provider through [user sync (SCIM)](/dashboard-platform-administration/set-up-your-organization/#turn-on-user-sync). You cannot create or delete them in Dashboard. The **Groups** tab displays the groups your identity provider has sent. For each group, it shows:

- Its display name, as your identity provider names it.
- Its external ID, your identity provider's identifier for the group.
- The Dashboard roles it grants. A group with no roles shows as **Unmapped**. Before you switch to SCIM, mapped groups show **Not active yet**.
- Its members, with each member's name, email, whether they're active, and when they joined the group.

:::info
The **Groups** tab appears when SCIM is turned on. Group roles give access only when your organization's role source is set to SCIM on the **Setup** [tab](/dashboard-platform-administration/set-up-your-organization/#choose-where-roles-come-from). Until then, the Groups tab shows a "Group roles are not in use" notice. You can map groups, but their roles don't give anyone access yet.

With **IdP groups claim**, group names must instead exactly match role names, and the roles you map on the **Groups** tab aren't used.
:::

To add or remove members, change the group in your identity provider. Membership changes apply the next time each member's session refreshes. If you delete a group in your identity provider, it's also removed from Dashboard, along with the roles it gave.

A user in more than one group gets the roles from all of them.

For how roles, permissions, and record limits work together, refer to [Dashboard Roles, Permissions, and Access](/concepts-and-architecture/dashboard-roles-permissions-and-access/).

---

## Before You Start

- [Create any custom roles](/dashboard-platform-administration/manage-roles/#create-custom-roles) you need. You can only map a group to a role that already exists.
- [Turn on user sync (SCIM)](/dashboard-platform-administration/set-up-your-organization/#turn-on-user-sync). In your identity provider, check that it has sent your users and your groups, with their members. One of these groups must contain the admins who will manage Dashboard. The groups and their members then appear on the Groups tab.


---

## Map Your Groups, Then Switch to SCIM

> **Required permissions**: `roles:assign` to map groups. `organization_setup:write` to switch your role source.

You map your groups first, while your users keep the roles they have today. Then switch your role source to SCIM, so the group roles start to give access. If SCIM isn't enabled, the Groups tab doesn't appear.

:::warning
Switching your role source to SCIM removes every role assigned any other way, including your own role. After the switch, users have only the roles their groups give them. Users in groups that aren't mapped can sign in, but cannot do anything until their group is mapped. Your current session keeps your old roles until it refreshes, which happens after the **_Access session_** [token lifetime](/dashboard-platform-administration/set-up-your-organization/#token-lifetimes) set in **Client settings** on the **Setup** tab. By default, that's 15 minutes.
:::

1. In Dashboard, click **Organization** in the left menu, then click the **Groups** tab.
2. Map your admin group to a role that can manage users and roles, such as **Access Manager**. The group must have at least one active member. Follow the steps in [Map a Group to Roles](#map-a-group-to-roles). Mapped groups show **Not active yet**.
3. Map your other groups.
4. In the "Group roles are not in use" notice, click **Use these group roles…**. You can also [set your role source](/dashboard-platform-administration/set-up-your-organization/#choose-where-roles-come-from) to **SCIM** on the **Setup** tab.
5. In the **Change how roles are assigned?** dialog, check how many groups grant roles and how many users will have a role.
6. Click **Change it**.

Dashboard allows the switch only if at least one active person can still manage users and roles afterward. If no one can, the dialog shows what to map, and **Change it** stays turned off. The dialog also warns you if user sync is off, or if none of your own groups gives you a role that can manage users and roles.

---

## Map a Group to Roles

:::warning
When you save, the roles you've selected replace all of the group's current roles. Before you save, check that every role the group should grant is selected. If you save with no roles selected, everyone in the group loses the roles the group gave them.

After you switch to SCIM, Dashboard doesn't save a change that would leave your organization with no active person who can manage users and roles. This includes clearing your admin group's roles. To make that change, first map a role that can manage users and roles to another group with active members.
:::

1. In Dashboard, click **Organization** in the left menu, then click the **Groups** tab.
2. Open the group's menu, and then click **Edit roles**.
3. Select every role the group should grant, and clear any roles it shouldn't.
4. Click **Save**.

Before you switch your role source to SCIM, the group's roles don't give anyone access yet, and the group shows "Not active yet". After the switch, everyone in the group gets the selected roles.

On the [Users tab](/dashboard-platform-administration/organization-manage-users/#users-managed-by-your-identity-provider), roles from groups show as coming from your identity provider, and you cannot remove them there. To change them, change the group's roles here, or change the user's group membership in your identity provider.

---

## Remove a Group's Access

What happens depends on whether you've switched your role source to SCIM:

- **Before the switch**: Removing a group's roles takes nothing away from anyone. After the switch, the group grants no roles.
- **After the switch**: Removing a group's roles takes those roles away from everyone in the group. A user whose only roles came from this group can sign in, but cannot do anything until they get another role. Dashboard doesn't allow the removal if it would leave your organization with no active user who can manage users and roles. To remove it, first map such a role to another group.

1. In Dashboard, click **Organization** in the left menu, then click the **Groups** tab.
2. Open the group's menu, and then click **Remove roles**.
3. Confirm the removal.

The group then shows as **Unmapped**.