> 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/user/mail/set-out-of-office.md).

# 不在通知を設定

### 説明

メールボックスの自動返信を構成し、必要に応じて Out-of-Office のカレンダーイベントを作成します。このランブックでは、スケジュールされた返信を有効にするか無効にするかを選択できます。

### 場所

ユーザー → メール → Out of Office を設定

**完全な Runbook 名**

rjgit-user\_mail\_set-out-of-office

### アクセス許可

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

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

#### RBAC ロール

* Exchange 管理者

### パラメーター

#### ユーザー名

メールボックスのユーザープリンシパル名。

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

#### 無効

実行するアクションとして、「Enable Out-of-Office」（最終値: $false）または「Disable Out-of-Office」（最終値: $true）を選択できます。

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

#### 開始

スケジュールされた Out-of-Office 返信の開始時刻。

| プロパティ | 値          |
| ----- | ---------- |
| 必須    | false      |
| 既定値   | (get-date) |
| 種類    | DateTime   |

#### 終了

スケジュールされた Out-of-Office 返信の終了時刻。指定しない場合、現在日付から10年後が既定値になります。

| プロパティ | 値                                        |
| ----- | ---------------------------------------- |
| 必須    | false                                    |
| 既定値   | ((get-date) + (new-timespan -Days 3650)) |
| 種類    | DateTime                                 |

#### MessageInternal

内部の自動返信メッセージ。

| プロパティ | 値                                |
| ----- | -------------------------------- |
| 必須    | false                            |
| 既定値   | 申し訳ありませんが、この担当者は現在メッセージを受信できません。 |
| 種類    | 文字列                              |

#### MessageExternal

外部向けの自動返信メッセージ。

| プロパティ | 値                                |
| ----- | -------------------------------- |
| 必須    | false                            |
| 既定値   | 申し訳ありませんが、この担当者は現在メッセージを受信できません。 |
| 種類    | 文字列                              |

#### CreateEvent

true に設定すると、Out of Office のカレンダーイベントを作成します。

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

#### EventSubject

任意の Out of Office カレンダーイベントの件名。

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

[Runbook リファレンスの概要に戻る](/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:

```
GET https://docs.realmjoin.com/ja/zi-dong-hua/runbooks/runbook-references/user/mail/set-out-of-office.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.
