# Add Or Remove Smartscreen Exclusion

### Description

This runbook lists, adds, or removes URL indicators in Microsoft Defender. It can allow, audit, warn, or block a given domain by creating an indicator entry.

### Location

Organization → General → Add Or Remove Smartscreen Exclusion

**Full Runbook name**

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

### Permissions

#### Application permissions

* **Type**: WindowsDefenderATP
  * Ti.ReadWrite.All

### Parameters

#### action

"List all URL indicators", "Add an URL indicator" or "Remove all indicator for this URL" could be selected as action to perform.

| Property      | Value |
| ------------- | ----- |
| Required      | false |
| Default Value | 0     |
| Type          | Int32 |

#### Url

Domain name to manage, for example "exclusiondemo.com".

| Property      | Value  |
| ------------- | ------ |
| Required      | false  |
| Default Value |        |
| Type          | String |

#### mode

Indicator mode to apply.

| Property      | Value |
| ------------- | ----- |
| Required      | false |
| Default Value | 0     |
| Type          | Int32 |

#### explanationTitle

Title used when creating an indicator.

| Property      | Value                            |
| ------------- | -------------------------------- |
| Required      | false                            |
| Default Value | Allow this domain in SmartScreen |
| Type          | String                           |

#### explanationDescription

Description used when creating an indicator.

| Property      | Value                                            |
| ------------- | ------------------------------------------------ |
| Required      | false                                            |
| Default Value | Required exclusion. Please provide more details. |
| Type          | String                                           |

[Back to Runbook Reference overview](/automation/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/automation/runbooks/runbook-references/org/general/add-or-remove-smartscreen-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.
