> For the complete documentation index, see [llms.txt](https://docs.realmjoin.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.realmjoin.com/es/automatizacion/runbooks/runbook-references/org/mail/add-shared-mailbox.md).

# Agregar buzón compartido

Crear un buzón compartido

### Descripción

Este script crea un buzón compartido en Exchange Online y configura varios ajustes, como la delegación, la asignación automática y las opciones de copia de mensajes. Además, si se especifica, deshabilita la cuenta de usuario asociada de Entra ID.

### Ubicación

Organización → Correo → Agregar buzón compartido

**Nombre completo del runbook**

rjgit-org\_mail\_add-shared-mailbox

### Detalles

| Propiedad          | Valor                                                                            |
| ------------------ | -------------------------------------------------------------------------------- |
| Versión            | 1.0.2                                                                            |
| Módulos requeridos | <p>RealmJoin.RunbookHelper (>= 0.8.9)<br>ExchangeOnlineManagement (>= 3.9.2)</p> |
| Programable        | no                                                                               |

### Permisos

#### Permisos de aplicación

* **Tipo**: Office 365 Exchange Online
  * Exchange.ManageAsApp
    * *Crea el buzón compartido y establece la delegación y la configuración regional en la sesión de Exchange Online solo de aplicación*
* **Tipo**: Microsoft Graph
  * User.ReadWrite.All *(opcional — característica: Deshabilitar cuenta de usuario)*
    * *Deshabilita la cuenta de usuario del buzón mediante PATCH /users/{id} cuando DisableUser está habilitado (activado de forma predeterminada)*

#### roles RBAC

* Administrador de Exchange
  * *Requerido para la sesión de Exchange Online solo de aplicación que crea el buzón compartido*

### Parámetros

#### Nombre del buzón

El alias (nombre del buzón) para el buzón compartido.

| Propiedad            | Valor  |
| -------------------- | ------ |
| Obligatorio          | true   |
| Valor predeterminado |        |
| Tipo                 | String |

#### Nombre para mostrar

Nombre para mostrar del buzón compartido.

| Propiedad            | Valor  |
| -------------------- | ------ |
| Obligatorio          | false  |
| Valor predeterminado |        |
| Tipo                 | String |

#### Nombre de dominio

Dominio opcional usado para la dirección SMTP principal; si no se proporciona, se usa el dominio predeterminado.

| Propiedad            | Valor  |
| -------------------- | ------ |
| Obligatorio          | false  |
| Valor predeterminado |        |
| Tipo                 | String |

#### Idioma

El idioma/configuración regional del buzón compartido. Esta configuración afecta nombres de carpetas como "Bandeja de entrada". El valor predeterminado es "en-US".

| Propiedad            | Valor  |
| -------------------- | ------ |
| Obligatorio          | false  |
| Valor predeterminado | en-US  |
| Tipo                 | String |

**Opciones del portal**

| Opción del portal | Valor |
| ----------------- | ----- |
| en-US             | en-US |
| de-DE             | de-DE |
| fr-FR             | fr-FR |

#### Zona horaria

La zona horaria del buzón compartido. El valor predeterminado es "W. Europe Standard Time".

| Propiedad            | Valor                   |
| -------------------- | ----------------------- |
| Obligatorio          | false                   |
| Valor predeterminado | W. Europe Standard Time |
| Tipo                 | String                  |

**Opciones del portal**

| Opción del portal              | Valor                          |
| ------------------------------ | ------------------------------ |
| W. Europe Standard Time        | W. Europe Standard Time        |
| Central Europe Standard Time   | Central Europe Standard Time   |
| E. Europe Standard Time        | E. Europe Standard Time        |
| GMT Standard Time              | GMT Standard Time              |
| UTC                            | UTC                            |
| Eastern Standard Time          | Eastern Standard Time          |
| Central Standard Time          | Central Standard Time          |
| Mountain Standard Time         | Mountain Standard Time         |
| Pacific Standard Time          | Pacific Standard Time          |
| Alaska Standard Time           | Alaska Standard Time           |
| Hawaiian Standard Time         | Hawaiian Standard Time         |
| China Standard Time            | China Standard Time            |
| Tokyo Standard Time            | Tokyo Standard Time            |
| Korea Standard Time            | Korea Standard Time            |
| India Standard Time            | India Standard Time            |
| Arabian Standard Time          | Arabian Standard Time          |
| AUS Eastern Standard Time      | AUS Eastern Standard Time      |
| New Zealand Standard Time      | New Zealand Standard Time      |
| Romance Standard Time          | Romance Standard Time          |
| Russian Standard Time          | Russian Standard Time          |
| SA Pacific Standard Time       | SA Pacific Standard Time       |
| SE Asia Standard Time          | SE Asia Standard Time          |
| Singapore Standard Time        | Singapore Standard Time        |
| South Africa Standard Time     | South Africa Standard Time     |
| Turkey Standard Time           | Turkey Standard Time           |
| Argentina Standard Time        | Argentina Standard Time        |
| Atlantic Standard Time         | Atlantic Standard Time         |
| Canada Central Standard Time   | Canada Central Standard Time   |
| E. South America Standard Time | E. South America Standard Time |
| FLE Standard Time              | FLE Standard Time              |
| Israel Standard Time           | Israel Standard Time           |
| Middle East Standard Time      | Middle East Standard Time      |
| Nepal Standard Time            | Nepal Standard Time            |
| West Pacific Standard Time     | West Pacific Standard Time     |

#### Delegar en

Usuario opcional que recibe acceso delegado al buzón.

| Propiedad            | Valor  |
| -------------------- | ------ |
| Obligatorio          | false  |
| Valor predeterminado |        |
| Tipo                 | String |

#### Asignación automática

Si se establece en verdadero, el buzón se asigna automáticamente en Outlook para el delegado.

| Propiedad            | Valor    |
| -------------------- | -------- |
| Obligatorio          | false    |
| Valor predeterminado | Falso    |
| Tipo                 | Booleano |

#### Copia de mensajes para Enviar como habilitada

Si se establece en verdadero, las copias de los mensajes enviados como el buzón se almacenan en los elementos enviados del buzón.

| Propiedad            | Valor    |
| -------------------- | -------- |
| Obligatorio          | false    |
| Valor predeterminado | True     |
| Tipo                 | Booleano |

#### Copia de mensajes para Enviar en nombre de habilitada

Si se establece en verdadero, las copias de los mensajes enviados en nombre del buzón se almacenan en los elementos enviados del buzón.

| Propiedad            | Valor    |
| -------------------- | -------- |
| Obligatorio          | false    |
| Valor predeterminado | True     |
| Tipo                 | Booleano |

#### DisableUser

Si se establece en verdadero, la cuenta de usuario asociada de Entra ID se deshabilita.

| Propiedad            | Valor    |
| -------------------- | -------- |
| Obligatorio          | false    |
| Valor predeterminado | True     |
| Tipo                 | Booleano |

[Volver a la vista general de referencia del runbook](/es/automatizacion/runbooks/runbook-references.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 dynamically by asking a question.

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

```
GET https://docs.realmjoin.com/es/automatizacion/runbooks/runbook-references/org/mail/add-shared-mailbox.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
