> 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/pt/automacao/runbooks/runbook-references/org/general/add-or-remove-safelinks-exclusion.md).

# Adicionar ou remover exclusão do SafeLinks

### Descrição

Adiciona ou remove uma exclusão de padrão de URL do SafeLinks numa política especificada. O runbook também pode listar as políticas existentes e pode criar uma nova política e grupo, se necessário.

### Localização

Organização → Geral → Adicionar ou Remover Exclusão do Safelinks

**Nome completo do runbook**

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

### Detalhes

| Propriedade         | Valor                                                                            |
| ------------------- | -------------------------------------------------------------------------------- |
| Versão              | 1.0.2                                                                            |
| Módulos necessários | <p>ExchangeOnlineManagement (>= 3.9.2)<br>RealmJoin.RunbookHelper (>= 0.8.9)</p> |
| Agendável           | não                                                                              |

### Permissões

#### Permissões de aplicação

* **Tipo**: Office 365 Exchange Online
  * Exchange.ManageAsApp
    * *Gere políticas, regras do Safe Links e o grupo de atribuição na sessão do Exchange Online apenas com aplicação*

#### funções RBAC

* Administrador do Exchange
  * *Necessário para a sessão do Exchange Online apenas com aplicação que atualiza DoNotRewriteUrls*

### Parâmetros

#### Ação

"Adicionar Padrão de URL à Política", "Remover Padrão de URL da Política" ou "Listar todas as políticas e definições existentes" podem ser selecionadas como ação a executar.

| Propriedade                | Valor                                            |
| -------------------------- | ------------------------------------------------ |
| Obrigatório                | falso                                            |
| Valor padrão               | 2                                                |
| Tipo                       | Int32                                            |
| Nome de exibição no portal | Adicionar ou Remover Padrão de URL à/de Política |

**Opções do portal**

| Opção do portal                                   | Valor |
| ------------------------------------------------- | ----- |
| Adicionar Padrão de URL à Política                |       |
| Remover Padrão de URL da Política                 |       |
| Listar todas as políticas e definições existentes |       |

#### LinkPattern

Padrão de URL a permitir; pode conter '\*' como carácter universal para o host e os caminhos.

| Propriedade  | Valor                      |
| ------------ | -------------------------- |
| Obrigatório  | falso                      |
| Valor padrão | https\://*.microsoft.com/* |
| Tipo         | String                     |

#### DefaultPolicyName

Nome predefinido da política SafeLinks utilizado quando não é fornecido um nome de política explícito.

| Propriedade      | Valor                                           |
| ---------------- | ----------------------------------------------- |
| Obrigatório      | verdadeiro                                      |
| Valor padrão     | Política Safelinks predefinida                  |
| Tipo             | String                                          |
| Oculto no portal | sim (predefinido via personalização do runbook) |

#### NomeDaPolítica

Nome opcional da política SafeLinks; se fornecido, substitui a seleção predefinida.

| Propriedade  | Valor  |
| ------------ | ------ |
| Obrigatório  | falso  |
| Valor padrão |        |
| Tipo         | String |

#### CriarNovaPolíticaSeNecessário

Se estiver definido como verdadeiro, o runbook cria uma nova política SafeLinks e um grupo de atribuição quando a política solicitada não existe.

| Propriedade  | Valor      |
| ------------ | ---------- |
| Obrigatório  | falso      |
| Valor padrão | Verdadeiro |
| Tipo         | Booleano   |

[Voltar à visão geral da referência do runbook](/pt/automacao/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/pt/automacao/runbooks/runbook-references/org/general/add-or-remove-safelinks-exclusion.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.
