# Agregar o quitar dirección de correo electrónico

### Descripción

Agrega o elimina una dirección de correo electrónico alias en un buzón y, opcionalmente, puede establecerla como la dirección principal.

### Ubicación

Usuario → Correo → Agregar o quitar dirección de correo electrónico

**Nombre completo del runbook**

rjgit-user\_mail\_add-or-remove-email-address

### Permisos

#### Permisos de aplicación

* **Tipo**: Office 365 Exchange Online
  * Exchange.ManageAsApp

#### RBAC roles

* Administrador de Exchange

### Parámetros

#### UserName

Nombre principal de usuario del buzón.

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

#### EmailAddress

Dirección de correo electrónico para agregar o quitar.

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

#### Quitar

Si se establece en true, elimina la dirección en lugar de agregarla.

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

#### asPrimary

Si se establece en true, define la dirección especificada como la dirección SMTP principal.

| 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/user/mail/add-or-remove-email-address.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.
