# Teams のメール連絡先を追加または削除

### 説明

メール連絡先を作成または更新し、指定したメールアドレスが実際の Teams チャネルのメールアドレスに転送されるようにします。この runbook は、指定した転送先アドレスを再度削除することもできます。

### 場所

Organization → Mail → Add Or Remove Teams Mailcontact

**ランブックの完全名**

rjgit-org\_mail\_add-or-remove-teams-mailContact

### アクセス許可

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

* **種類**: Office 365 Exchange Online
  * Exchange.ManageAsApp

#### RBAC ロール

* Exchange 管理者

### パラメーター

#### RealAddress

Teams がチャネル用に作成したアドレスを入力してください

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

#### DesiredAddress

実際のアドレスに転送されるべき指定のメールアドレス。

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

#### DisplayName

アドレス帳内の連絡先に対する任意の表示名。

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

#### 削除

実行するアクションとして、「指定のアドレスを実際のアドレスに転送する」（最終値: $false）または「転送を停止して指定のアドレスを削除する」（最終値: $true）を選択できます。

| プロパティ | 値       |
| ----- | ------- |
| 必須    | false   |
| 既定値   | False   |
| 種類    | Boolean |

[ランブック リファレンスの概要に戻る](/ja/zi-dong-hua/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/ja/zi-dong-hua/runbooks/runbook-references/org/mail/add-or-remove-teams-mailcontact.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.
