> For the complete documentation index, see [llms.txt](https://docs.bsure.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bsure.io/user-guides/settings/configuration/group-cost-allocation.md).

# Group Cost Allocation

The Group Cost Allocation page lets you put a monthly cost on the things your organization pays for, and spread that cost across the people who use them. Each entry is a **cost item**: something you want to allocate cost on, such as an application, a service, a license or a shared resource. You give the cost item a price per user per month, a fixed price per month, or both, and connect it to one or more Entra ID groups. Bsure then allocates the cost to the members of those groups.

Bsure collects group members automatically every night, at around midnight, so the cost allocation is kept up to date without any manual steps.

It is designed to answer simple but important questions:

* What are we paying for, and who is using it?
* What does each cost item cost the organization per month?
* How much of that cost lands on each user, group or business unit?

***

#### Accessing Group Cost Allocation

Navigate to **Settings → Configuration** in the left sidebar, then select the **Group Cost Allocation** tab.

#### How cost is calculated

Each cost item has two cost fields. You can use one of them or both.

| Field                  | What it means                                                                                    |
| ---------------------- | ------------------------------------------------------------------------------------------------ |
| **Monthly User Cost**  | A price per member per month. It is multiplied by the number of unique members in the cost item. |
| **Monthly Fixed Cost** | A fixed price per month for the whole cost item. It is distributed across the unique members.    |

The total monthly cost of a cost item is:

**Monthly Cost = (Monthly User Cost × Unique Members) + Monthly Fixed Cost**

For example, a cost item with a Monthly User Cost of 40, a Monthly Fixed Cost of 8,000 and 58 unique members has a Monthly Cost of 40 × 58 + 8,000 = 10,320.

**Unique members** are counted once, even if a person is a member of several of the groups on the same cost item. A user who is in both *rds-work* and *All Users* is only charged once for that cost item.&#x20;

Both cost fields are required. If you only want a per-user price, set **Monthly Fixed Cost** to 0. If you only want a fixed price, set **Monthly User Cost** to 0.

#### Page Layout

The Group Cost Allocation page consists of the following elements:

<figure><img src="https://300487332-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FygloFyyKhIYtV62dMZJc%2Fuploads%2FrAsSg6JDI0tVEADQPUfO%2Fimage.png?alt=media&amp;token=da0bee23-be4b-43e1-ae50-92483be1cc91" alt=""><figcaption></figcaption></figure>

**Action Buttons**

At the top-right corner of the page, you will find:

* **Collect Group Members** - Group members are collected automatically every night. Click this only if something has changed since the last collection and you need the updated data right away, for example a new cost item or new members in a group.
* **Add Cost Item** - Click to create a new cost item. A dialog opens where you enter the name, the costs and the groups.

**Table Toolbar**

Above the table, a toolbar shows:

* **Rows loaded** - The number of cost items currently shown.
* **Export** - The download icon exports the current list for offline use or further analysis.

**Cost Item Table**

The main content area lists all cost items with the following columns:

| Column                 | Description                                                                                        |
| ---------------------- | -------------------------------------------------------------------------------------------------- |
| **Cost Item Name**     | What you are allocating cost on, for example *Access to RDS* or *Autocad*. Includes a text filter. |
| **Groups**             | The number of groups on the cost item, followed by the group names. Includes a text filter.        |
| **Monthly User Cost**  | The price per member per month.                                                                    |
| **Monthly Fixed Cost** | The fixed price per month for the cost item.                                                       |
| **Unique Members**     | The number of unique members across all groups on the cost item.                                   |
| **Monthly Cost**       | The total monthly cost of the cost item, calculated as described above.                            |

Each column header supports sorting. The Cost Item Name and Groups columns also support text filtering.

#### Adding a cost item

#### Open Group Cost Allocation

Navigate to **Settings → Configuration** and select the **Group Cost Allocation** tab.&#x20;

#### Start adding a cost item

Click **Add Cost Item** in the top-right corner.

#### Name the cost item

In **Cost Item name**, enter what you want to allocate cost on, for example an application, a service or a license.&#x20;

#### Set the costs

* **Monthly user cost** - the price per member per month. Enter 0 if you don't use a per-user price.
* **Monthly fixed cost** - the fixed price per month, distributed across the members. Enter 0 if you don't use a fixed price.&#x20;

#### Add groups

Search for groups by name or GUID and select the ones you want. You can add as many groups as you like to the same cost item. Each selected group shows its domain and member count. Click **Remove** to take a group off the list.&#x20;

#### Check the preview

At the bottom of the dialog, **Preview Monthly Cost** shows the total monthly cost and the number of unique members, so you can verify the result before saving.&#x20;

#### Save the cost item

Click **Add Cost Item** to save.&#x20;

<figure><img src="https://300487332-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FygloFyyKhIYtV62dMZJc%2Fuploads%2F3cruvrzuVaqDI6TdqSSf%2F1793779332990_image.png?alt=media&amp;token=72f774e8-d264-402f-b1ab-9f283cfecaf0" alt=""><figcaption></figcaption></figure>

#### Editing or removing a cost item

To edit or remove an existing cost item, click the row. The **Edit Cost Item** dialog has the same fields as when adding one. You can change the name and costs, add or remove groups, and check the updated preview before clicking **Save Changes**.

<figure><img src="https://300487332-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FygloFyyKhIYtV62dMZJc%2Fuploads%2FsZjFSuHkwi5GzdqpDjtv%2Fimage.png?alt=media&amp;token=53815780-78d5-403f-9b24-ad18c3e1b2b7" alt=""><figcaption></figcaption></figure>

#### Refreshing Group Members and reports

Bsure collects group members automatically every night, at around midnight, and updates the Power BI Groups report. In most cases you don't need to do anything.

If something has changed since the last collection, such as a new or changed cost item or new members in a group, and you need the updated numbers before the next nightly run, click **Collect Group Members** at the top-right of the page. The collection takes a few minutes; you can follow progress by clicking the bell icon next to your name in the top-right corner of the app.

#### Filtering, sorting, exporting

The table provides several ways to find and organize your data:

* **Column sorting** - Click any column header to sort. Click again to reverse the sort order.
* **Text filters** - The Cost Item Name and Groups columns have filter input fields below the header.
* **Export** - Click the download icon to export the current list, with the active filters and sorting applied.

#### Summary

Use Group Cost Allocation to describe what your organization pays for and who uses it. Create a cost item, set a price per user, a fixed monthly price or both, and connect as many Entra ID groups as you need. Bsure counts the unique members and allocates the cost to them, so cost-allocation reports work without spreadsheets.

#### Next steps

1. Create a cost item for each thing you want to allocate cost on.
2. Set a Monthly User Cost, a Monthly Fixed Cost, or both.
3. Add the groups whose members should carry the cost.
4. Verify the Groups report after the next nightly collection, or click **Collect Group Members** if you need the numbers right away.


---

# 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://docs.bsure.io/user-guides/settings/configuration/group-cost-allocation.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.
