# Agregar o quitar grupo anidado

### Descripción

Este runbook agrega un grupo anidado a un grupo de destino o quita un anidamiento existente. Admite grupos de Microsoft Entra ID y grupos de distribución o grupos de seguridad habilitados para correo de Exchange Online. Use el modificador Remove para quitar el grupo anidado en lugar de agregarlo.

### Ubicación

Grupo → General → Agregar o quitar grupo anidado

**Nombre completo del runbook**

rjgit-group\_general\_add-or-remove-nested-group

### Permisos

#### Permisos de aplicación

* **Tipo**: Microsoft Graph
  * User.Read.All
  * Group.ReadWrite.All
  * GroupMember.ReadWrite.All

### Parámetros

#### GroupID

ID de objeto del grupo de destino.

| Propiedad            | Valor  |
| -------------------- | ------ |
| Requerido            | true   |
| Valor predeterminado |        |
| Tipo                 | Cadena |

#### NestedGroupID

ID de objeto del grupo que se agregará como miembro anidado.

| Propiedad            | Valor  |
| -------------------- | ------ |
| Requerido            | true   |
| Valor predeterminado |        |
| Tipo                 | Cadena |

#### Quitar

Establézcalo en true para quitar la pertenencia del grupo anidado, o en false para agregarla.

| Propiedad            | Valor   |
| -------------------- | ------- |
| Requerido            | false   |
| Valor predeterminado | False   |
| Tipo                 | Boolean |

[Volver a la vista general de referencia del runbook](/es/automatizacion/runbooks/runbook-references.md)


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.realmjoin.com/es/automatizacion/runbooks/runbook-references/group/general/add-or-remove-nested-group.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
