> 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/general/add-or-remove-safelinks-exclusion.md).

# Agregar o quitar exclusión de Safelinks

### Descripción

Agrega o quita una exclusión de patrón de URL de SafeLinks en una directiva especificada. El runbook también puede enumerar las directivas existentes y puede crear una nueva directiva y grupo si es necesario.

### Ubicación

Organización → General → Agregar o quitar exclusión de SafeLinks

**Nombre completo del runbook**

rjgit-org\_general\_add-or-remove-safeLinks-exclusion

### Permisos

#### Permisos de aplicación

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

#### Roles RBAC

* Administrador de Exchange

### Parámetros

#### Acción

"Agregar patrón de URL a la directiva", "Quitar patrón de URL de la directiva" o "Enumerar todas las directivas y configuraciones existentes" se pueden seleccionar como acción a realizar.

| Propiedad            | Valor |
| -------------------- | ----- |
| Requerido            | falso |
| Valor predeterminado | 2     |
| Tipo                 | Int32 |

#### LinkPattern

Patrón de URL que se va a permitir; puede contener '\*' como comodín para el host y las rutas.

| Propiedad            | Valor                      |
| -------------------- | -------------------------- |
| Requerido            | falso                      |
| Valor predeterminado | https\://*.microsoft.com/* |
| Tipo                 | Cadena                     |

#### DefaultPolicyName

Nombre de directiva de SafeLinks predeterminado que se usa cuando no se proporciona un nombre de directiva explícito.

| Propiedad            | Valor                                 |
| -------------------- | ------------------------------------- |
| Requerido            | verdadero                             |
| Valor predeterminado | Directiva predeterminada de SafeLinks |
| Tipo                 | Cadena                                |

#### PolicyName

Nombre opcional de la directiva de SafeLinks; si se proporciona, reemplaza la selección predeterminada.

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

#### CreateNewPolicyIfNeeded

Si se establece en true, el runbook crea una nueva directiva de SafeLinks y un grupo de asignación cuando la directiva solicitada no existe.

| Propiedad            | Valor     |
| -------------------- | --------- |
| Requerido            | falso     |
| Valor predeterminado | Verdadero |
| Tipo                 | Booleano  |

[Volver a la vista general de la 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:

```
GET https://docs.realmjoin.com/es/automatizacion/runbooks/runbook-references/org/general/add-or-remove-safelinks-exclusion.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.
