> 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/mail/add-mail-contact.md).

# メール連絡先を追加

### 説明

この runbook は、New-MailContact cmdlet を使用して新しい Exchange Online のメール連絡先（外部連絡先）を作成します。連絡先の名、姓、メール エイリアスを任意で設定でき、Global Address List に表示するかどうかを制御できます。明示的に設定されていない場合、すべての名前は指定された表示名が既定値になります。

### 場所

組織 → メール → メール連絡先の追加

**完全な Runbook 名**

rjgit-org\_mail\_add-mail-contact

### 権限

#### アプリケーション権限

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

#### RBAC ロール

* Exchange 管理者

### パラメーター

#### ExternalEmailAddress

メール連絡先の外部 SMTP メール アドレスです。これは、連絡先との通信に使用される主なメール アドレスです。

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

#### DisplayName

Exchange Online とグローバル アドレス一覧でメール連絡先に表示される表示名です。

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

#### Name

管理と識別に使用される一意の連絡先名です。空のままにすると、DisplayName の値が既定値になります。

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

#### FirstName

連絡先の名です。指定されない場合、このフィールドは空のままです。

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

#### LastName

連絡先の姓です。指定されない場合、このフィールドは空のままです。

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

#### Alias

メール連絡先のメール ニックネーム（エイリアス）です。指定されない場合、システムが表示名から自動的に生成します。

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

#### HideFromAddressLists

true に設定すると、メール連絡先はグローバル アドレス一覧および他のアドレス一覧から非表示になります。false の場合、連絡先はすべてのユーザーに表示されます。既定値は false です。

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

[ランブック リファレンスの概要に戻る](/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/mail/add-mail-contact.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.
