> For the complete documentation index, see [llms.txt](https://boza.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://boza.gitbook.io/docs/inventory/applications/idp-groups.md). Agents can also search and read this documentation through its [MCP server](https://boza.gitbook.io/docs/~gitbook/mcp).

# Link Identity Provider Groups to an Application

Link groups from your identity provider (IdP), Google Workspace or Microsoft Entra ID, to a tracked application. Everyone in a linked group is then listed as a user of the application without taking a seat, and the list follows your IdP every night.

## Prerequisites

* Google Workspace or Microsoft Entra ID is connected and its groups have synced. Groups sync when the integration is first connected, then every night.
* The application is tracked. To track it, select it on the **Applications** page and use **Track** in the [bulk actions menu](https://boza.gitbook.io/docs/inventory/applications.md#bulk-actions).
* Your role allows the action:

| Who                                                         | What they can do                                                                                                               |
| ----------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------ |
| workspace Admin                                             | See detected groups, link and unlink groups on any tracked application, and export its users                                   |
| Application **Super Admin**, **Budget Owner**, or **Admin** | See detected groups, link and unlink groups on that application. **Export** is not available                                   |
| Owner of a different application                            | Read only. **IdP groups** appears only if at least one group is linked, and the panel shows the groups and their member counts |

An **Access Reviewer** role on an application does not allow linking or unlinking. People who only answer access reviews, and employees with no role in Boza, cannot open application pages.

## Link a Group

1. In the sidebar, click **Applications** and open a tracked application.
2. Click the **Users** tab.

<figure><img src="https://1674559363-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvSdGShklbloRzyUwwMzX%2Fuploads%2Fgit-blob-89f6570500a139e8c51927843be556ddca4e1de7%2Fboza-app-idp-groups-toolbar.png?alt=media" alt="Users tab of the Notion application with the toolbar showing Filter, an IdP groups button with a violet 2 detected badge, Export and Add Users."><figcaption></figcaption></figure>

3. In the toolbar, click **IdP groups**. The **Identity provider groups** panel opens.
4. At the top of the panel, under **Link a group to this application**, open **Select the groups to link**. The list shows every group still in your IdP that is not already linked to this application.
5. Optional: in **Search groups**, enter part of a group's name. The search matches group names only.
6. Select one or more groups. The list stays open, and each click selects or clears a group.

<figure><img src="https://1674559363-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvSdGShklbloRzyUwwMzX%2Fuploads%2Fgit-blob-071acad942e5973da0a65736866e293e69195ef1%2Fboza-app-idp-groups-picker.png?alt=media" alt="Group picker open in the Identity provider groups panel, searching users, with Datadog Users and Linear Users ticked, Salesforce Users unticked, and a Select all 3 matches row."><figcaption></figcaption></figure>

7. Click **Link 1 group** or **Link N groups**. Until you select a group, the button reads **Link group** and is disabled, with the tooltip **Select a group first.** Boza confirms with **1 group linked** or **N groups linked**, and the members appear in the Users tab right away.

{% hint style="info" %}
The first row of the list reads **Select all (N)**, or **Select all N matches** while a search is entered (**Select the 1 match** for a single result). It acts only on the groups the search shows. Once they are all ticked, the row starts with **Deselect** instead of **Select**, and clicking it clears them. You can link at most 100 groups in one action.
{% endhint %}

## Confirm the Groups Boza Detects

Boza looks for groups that are still in your IdP, are not linked yet, and carry the application's name as whole words. Both the catalog name and your workspace's own name for the application count. For example, `ASANA-USERS` and `ASANA-ADMINS` are detected for Asana, but `MAILBOX-USERS` is not detected for Box.

Very short names, generic words such as "users" or "cloud", and words found in many of your group names do not match on their own. Link groups that are not named after the application by hand.

While detected groups wait for a decision, the **IdP groups** button shows a badge such as **2 detected**. Only workspace Admins and owners of the application see detected groups. Nothing is linked until you confirm.

1. On the **Users** tab, click **IdP groups**. A box such as **Boza detected 2 groups for Notion** lists the groups, each ticked, with its member count.

<figure><img src="https://1674559363-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvSdGShklbloRzyUwwMzX%2Fuploads%2Fgit-blob-d5504d70c7fac63c188b8843629e516a6d9beade%2Fboza-app-idp-groups-detected.png?alt=media" alt="Identity provider groups side panel for Notion, with a box saying Boza detected 2 groups, NOTION-ADMINS and NOTION-USERS ticked, and the buttons Keep synced and Not now."><figcaption></figcaption></figure>

2. Untick any group you do not want to link.
3. Click **Keep synced**. Only the ticked groups are linked. Unticked groups stay offered and come back ticked.

To decide later, click **Not now**. This hides every group currently offered, ticked or not, and removes the badge. Boza remembers this for you, for that application, in that browser only. A group detected later is offered as usual, and groups you put aside can still be linked with **Select the groups to link**, at the top of the panel.

## Unlink a Group

1. On the **Users** tab, click **IdP groups**.
2. On the group's row, click **Unlink**.

There is no confirmation step. Boza shows **Group unlinked**, and members who have no seat on the application leave its Users tab immediately. Seats are not changed. If the group's name matches the application, Boza offers it again as a detected group, unless you put it aside with **Not now**.

## Expected Result

The panel lists the linked groups alphabetically. Each row shows the group's name, its number of active members (**1 person** or **N people**), and **Unlink**. When no detected group is waiting, the **IdP groups** button shows the number of linked groups.

<figure><img src="https://1674559363-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvSdGShklbloRzyUwwMzX%2Fuploads%2Fgit-blob-f549e17487db4ec93e30456bec033279d4033d7b%2Fboza-app-idp-groups-panel.png?alt=media" alt="Identity provider groups side panel for Slack listing three linked groups with member counts and Unlink buttons, one flagged No longer in the identity provider."><figcaption></figcaption></figure>

### Where Members Appear

* **Users tab:** a member with no seat has the **Source** **IdP group** and the **License Type** **Unspecified**. A person who also holds a seat keeps that seat's source and license. A person in two linked groups is listed once.
* **Filter → Group:** narrows the table to the members of the IdP groups you tick.
* **Person side panel:** click a person's row. Workspace Admins can also open it from the **Users** page. The application is listed with **IdP group** under **Discovery Source**, and with no license.
* **CSV export:** **Export** on the Users tab follows the active filters. **Discovery Source** reads **IdP group** and **License Name** is empty. The workspace-wide users export includes these applications in **Applications** and **Number Of Apps**. In the applications export, **Number Of Users** counts linked members too, each person once.

### What a Link Does Not Change

A link creates no license assignment, so subscription seats and costs stay the same. The application's user counts do include linked members who have no seat, and count each person once:

* The number next to the **Users** tab name.
* **Active users** on the **Overview** tab.
* The number after the slash in the **Users** column on the **Applications** page, which the column sorts on. The number before it counts people active in the last 30 days, with or without a seat.
* **Number Of Users** in the applications export.

To give a linked member a seat, select a license in the **License Type** column. The person then takes a seat, and **Source** no longer shows **IdP group**.

| What differs                      | **Add Users**                                 | Linked group                                    |
| --------------------------------- | --------------------------------------------- | ----------------------------------------------- |
| Takes a seat                      | Yes                                           | No                                              |
| Follows later changes in the IdP  | No                                            | Yes, every night                                |
| Counted in the user numbers above | Yes                                           | Yes, once, even if the person also holds a seat |
| **Source** on the Users tab       | The seat's source, such as **Manually added** | **IdP group**                                   |

## How Membership Follows Your Identity Provider

* **Timing:** people who join or leave a group are added or removed at the next nightly sync.
* **Active people only:** deactivated users are not listed through a group and are left out of member counts.
* **Renamed groups:** a group renamed in the IdP keeps its link and shows the new name after the next sync.
* **Deleted groups:** a group deleted in the IdP stays listed with the badge **No longer in the identity provider** and **0 people**, and its members no longer count. Click **Unlink** to clear it. If the group returns in the IdP with the same identifier, the sync restores it. A deleted group cannot be newly linked and is never detected.
* **Merged or removed applications:** merging duplicates moves the links to the application you keep. Removing an application from your workspace removes its links.

| Identity provider  | Nested groups                                                                             | Limits                                                                                                                                                 |
| ------------------ | ----------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Microsoft Entra ID | Members of nested groups are included. Only people count, not devices                     | None specific to linked groups                                                                                                                         |
| Google Workspace   | Not expanded. Only direct members count, so add people directly or link the sub-group too | Boza reads up to 500 groups per domain and up to 500 members per group. Groups whose name starts with `boza-` are not synced, so they cannot be linked |

## Troubleshooting

| What you see                                                                                | Cause                                                                                                                                                                                                                                              | What to do                                                                                                            |
| ------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- |
| No **IdP groups** button                                                                    | The application is untracked, or you do not manage it and no group is linked                                                                                                                                                                       | Track the application, or ask a workspace Admin                                                                       |
| **Source** column is missing                                                                | The tab is too narrow to show it                                                                                                                                                                                                                   | Click **Collapse sidebar** or widen the window                                                                        |
| **No group found** in the list                                                              | No IdP is connected, groups have not synced, every group is already linked, or the search matches nothing                                                                                                                                          | Connect the IdP, wait for the next sync, or clear the search                                                          |
| The number on the **Users** tab is higher than the subscription's seats                     | The number counts every active user of the application, members of linked groups included, and a linked member takes no seat                                                                                                                       | In the table, linked members without a seat show **Unspecified** under **License Type**                               |
| A person listed only through a group comes back after **Remove user**                       | There is no seat to remove. After **Remove Now**, Boza shows **User removed from application successfully** and the row leaves the table, but the person is listed again when the table next loads, such as after a page reload or a filter change | Unlink the group, or remove the person from the group in the IdP                                                      |
| A person with a seat comes back after **Remove user**                                       | Each **Remove user** removes one seat, and the row leaves the table. When the table next loads, the person is back with their other seat if they held more than one, or else with **IdP group** because they are still in a linked group           | Repeat **Remove user** for each remaining seat. Then unlink the group, or remove the person from the group in the IdP |
| A group is not detected                                                                     | Its name does not carry the application's name, or the matching word is too generic                                                                                                                                                                | Link it with **Select the groups to link**, at the top of the panel                                                   |
| Detected groups came back                                                                   | **Not now** is remembered per browser, so another browser or cleared site data shows them again                                                                                                                                                    | Click **Keep synced** or **Not now** again                                                                            |
| A member is missing                                                                         | The person is deactivated, joined after the last sync, is only in a nested group on Google Workspace, or is beyond the first 500 members of a Google Workspace group                                                                               | Check the person's status and direct membership, or wait for the next sync                                            |
| A Google Workspace group is flagged **No longer in the identity provider** but still exists | Boza reads only the first 500 groups of a domain, and a group outside them is treated as removed                                                                                                                                                   | Contact Boza support if your domain has more than 500 groups                                                          |

### Messages in the Panel

| Message                                                                                                                      | Cause                                                                            | What to do                                          |
| ---------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | --------------------------------------------------- |
| **These groups can't be linked: one of them may no longer exist in your identity provider. Refresh the page and try again.** | A group was deleted since the page loaded, or more than 100 groups were selected | Refresh the page. Link at most 100 groups at a time |
| **This application or group is no longer here. Refresh the page.**                                                           | The application was removed or the group was already unlinked                    | Refresh the page                                    |
| **You do not have access to this**                                                                                           | Your role does not allow linking or unlinking on this application                | Ask a workspace Admin                               |
| **Something went wrong. Try again.**                                                                                         | Another error occurred. The panel reloads its list                               | Try again                                           |
| **The groups could not be loaded.**                                                                                          | The linked groups could not be read                                              | Reload the page                                     |
| **Boza could not check for groups matching this application. The linked groups are shown as usual.**                         | Detection failed. Linked groups are not affected                                 | Reopen the panel later, or link the group by hand   |

## Related Guides

* [App Detail Page: Users tab](https://boza.gitbook.io/docs/inventory/applications/app-detail.md#users-tab)
* [Roles and Permissions: application ownership roles](https://boza.gitbook.io/docs/settings-and-security/settings/roles-and-permissions.md#application-ownership-roles)
* [Connect Google Workspace](https://boza.gitbook.io/docs/integrations/google-workspace.md)
* [Connect Microsoft Entra ID](https://boza.gitbook.io/docs/integrations/microsoft-entra-id.md)
* [Reports and Exports](https://boza.gitbook.io/docs/resources/reports-and-exports.md)
* [Merge Duplicate Applications](https://boza.gitbook.io/docs/tutorials/merge-duplicate-applications.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://boza.gitbook.io/docs/inventory/applications/idp-groups.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
