> For the complete documentation index, see [llms.txt](https://docs.cipp.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cipp.app/user-documentation/identity/administration/administrative-units/edit.md). Agents can also search and read this documentation through its [MCP server](https://docs.cipp.app/~gitbook/mcp).

# Edit Administrative Unit

Change an administrative unit's settings and add or remove its members

This page changes an existing administrative unit in the selected tenant. It opens from **Edit Administrative Unit** on the [Administrative Units](https://docs.cipp.app/user-documentation/identity/administration/administrative-units.md) page and loads the unit's current settings and members into the same form used by [Add Administrative Unit](https://docs.cipp.app/user-documentation/identity/administration/administrative-units/add.md). Only the values you change are saved, so a dynamic unit whose rule you leave alone keeps running that rule without it being re-applied.

Until the unit has loaded the fields are greyed out and the **Submit** button is hidden. Once it has loaded, **Submit** stays greyed out until you change something. If the page is opened without a unit, it shows "No administrative unit selected. Open this page from the Administrative Units list." If the unit cannot be read, it shows "The administrative unit could not be loaded."

## Unit Details

| Field                 | Description                                                                                                                                                                                                                       |
| --------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Display Name          | The name of the administrative unit. Required.                                                                                                                                                                                    |
| Description           | A description of the unit.                                                                                                                                                                                                        |
| Membership visibility | **Public** lets anyone in the tenant see the members. **Hidden** limits that to the unit's members and to roles scoped to the unit.                                                                                               |
| Membership type       | **Assigned** means members are added by hand. **Dynamic** means members come from a rule, and needs Entra ID P1. Switching a unit to Dynamic replaces its members with the users or devices the rule selects.                     |
| Membership rule       | Appears only when **Membership type** is Dynamic, and is then required. The rule that selects the unit's members. A rule selects users or devices, not both, and groups cannot be added dynamically.                              |
| Pause rule processing | Appears only when **Membership type** is Dynamic. When turned on, the rule stops running and the members stay as they are until it is turned back on. Shows as on when the unit's rule is already paused.                         |
| Restricted management | Shows whether only admins with a role scoped to this unit can change the users, groups and devices in it. Always greyed out here, because restricted management is set when the unit is created and cannot be changed afterwards. |

## Add Members

This section appears only when **Membership type** is Assigned. A dynamic unit takes its members from its rule, so members cannot be added or removed by hand. Both pickers are optional.

| Field           | Description                                                                                                                                           |
| --------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- |
| Users or groups | The users and groups to add to the unit. Anything already in the unit is left out of the list. Adding a group adds the group itself, not its members. |
| Devices         | The devices to add to the unit, shown by name and operating system. Devices already in the unit are left out of the list.                             |

## Remove Members

This section appears only when **Membership type** is Assigned.

| Field                    | Description                                                                                                                          |
| ------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ |
| Users, groups or devices | The current members to take out of the unit. Users are shown with their user principal name, and groups and devices with their type. |

The results list each change separately, so a member that cannot be added or removed is reported without undoing the other changes.

***

## Feature Requests / Ideas

We value your feedback and ideas. Please raise any [feature requests](https://github.com/CyberDrain/CIPP/issues/new?template=feature.yml) on GitHub.


---

# 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.cipp.app/user-documentation/identity/administration/administrative-units/edit.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.
