> 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/ja/zi-dong-hua/runbooks/runbook-references/org/general/add-or-remove-trusted-site.md).

# 信頼済みサイトを追加または削除

### 説明

Windows のカスタム構成ポリシー内の Site-to-Zone 割り当て一覧に URL を追加または削除します。runbook は、既存のすべての信頼済みサイト ポリシーとそのマッピングも一覧表示できます。

### 場所

組織 → 全般 → 信頼済みサイトを追加または削除

**Runbook の完全名**

rjgit-org\_general\_add-or-remove-trusted-site

### 詳細

| プロパティ    | 値                                  |
| -------- | ---------------------------------- |
| バージョン    | 1.0.1                              |
| 必要なモジュール | RealmJoin.RunbookHelper (>= 0.8.9) |
| スケジュール可能 | いいえ                                |

### 注記

この runbook は、omaSettings を復号するために <https://call4cloud.nl/2021/09/the-isencrypted-with-steve-zissou/> に記載されている呼び出しを使用します。現在、これには Microsoft Graph のベータ エンドポイントを使用する必要があります。

### アクセス許可

#### アプリケーションのアクセス許可

* **種類**：Microsoft Graph
  * DeviceManagementConfiguration.ReadWrite.All
    * *シークレット OMA 設定を含む Site-to-Zone 割り当てポリシーを読み取り、更新します*

### パラメーター

#### アクション

実行するアクション: ポリシーの追加、削除、または一覧表示。

| プロパティ | 値     |
| ----- | ----- |
| 必須    | はい    |
| 既定値   | 2     |
| 種類    | Int32 |

**ポータルのオプション**

| ポータルオプション                | 値 |
| ------------------------ | - |
| 信頼済みサイトに URL を追加         |   |
| 信頼済みサイトから URL を削除        |   |
| すべての信頼済みサイト ポリシーを一覧表示/印刷 |   |

#### URL

追加または削除する URL。"http\://" または "https\://" を前置する必要があります。

| プロパティ | 値   |
| ----- | --- |
| 必須    | いいえ |
| 既定値   |     |
| 種類    | 文字列 |

#### ゾーン

URL を割り当てる Internet Explorer のゾーン ID。

| プロパティ | 値     |
| ----- | ----- |
| 必須    | いいえ   |
| 既定値   | 1     |
| 種類    | Int32 |

**ポータルのオプション**

| ポータルオプション            | 値 |
| -------------------- | - |
| マイ コンピューター (0)       | 0 |
| ローカル イントラネット ゾーン (1) | 1 |
| 信頼済みサイト ゾーン (2)      | 2 |
| インターネット ゾーン (3)      | 3 |
| 制限付きサイト ゾーン (4)      | 4 |

#### 既定のポリシー名

複数の信頼済みサイト ポリシーが存在し、特定のポリシー名が指定されていない場合に使用される既定のポリシー名。

| プロパティ    | 値                        |
| -------- | ------------------------ |
| 必須       | いいえ                      |
| 既定値      | Windows 10 - 信頼済みサイト     |
| 種類       | 文字列                      |
| ポータルで非表示 | はい（Runbook のカスタマイズで事前設定） |

#### Intune ポリシー名

省略可能なポリシー名。指定した場合、runbook は自動選択の代わりにこのポリシーを対象にします。

| プロパティ | 値   |
| ----- | --- |
| 必須    | いいえ |
| 既定値   |     |
| 種類    | 文字列 |

[Runbook Reference の概要に戻る](/ja/zi-dong-hua/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/ja/zi-dong-hua/runbooks/runbook-references/org/general/add-or-remove-trusted-site.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.
