> 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/security/create-temporary-access-pass.md).

# Temporary Access Pass を作成

### 説明

Microsoft Entra ID のユーザーに対して、新しい Temporary Access Pass (TAP) 認証方法を作成します。新しいものを作成する前に、そのユーザーの既存の TAP は削除されます。必要に応じて、ユーザーのプライマリ メール アドレスに、作成されたばかりの TAP について通知するメールを送信します。メールの言語は、ユーザーの使用場所に基づいて自動的に決定されます。

### ユーザー通知を有効化

この runbook は、Temporary Access Pass をユーザーに送信するメールを送ります。これを有効にするには、runbook のカスタマイズでユーザー通知を有効化する必要があります。

この json 設定は次のとおりです:

```json
"rjgit-user_security_create-temporary-access-pass": {
    "parameters": {
        "UserName": {
            "Hide": true
        },
        "NotifyUser": {
            "Default": true,
            "Hide": true
        },
        "EmailFrom": {
            "Hide": true
        },
        "ServiceDeskDisplayName": {
            "Hide": true
        },
        "ServiceDeskEmail": {
            "Hide": true
        },
        "ServiceDeskPhone": {
            "Hide": true
        },
        "CallerName": {
            "Hide": true
        }
    }
}
```

runbook をカスタマイズする方法の詳細については、次を参照してください。 [Runbook カスタマイズ ガイド](https://docs.realmjoin.com/automation/runbooks/runbook-customization).

### メール送信に関する設定

メールレポートの送信は任意であり、受信者（`EmailTo`）が指定された場合にのみ行われます。送信者アドレスは次の設定から取得されます。 `RJReport.EmailSender` Tenant 設定。

この runbook は Microsoft Graph API を使用してメールを送信します。Graph API 経由でメールを送信するには、runbook のカスタマイズで既存のメールアドレスを設定する必要があります。

次を参照してください。 [RealmJoin レポート設定のドキュメント](https://docs.realmjoin.com/automation/runbooks/runbook-report-settings) 詳細について。

### 場所

ユーザー → セキュリティ → Temporary Access Pass の作成

**完全な Runbook 名**

rjgit-user\_security\_create-temporary-access-pass

### アクセス許可

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

* **種類**: Microsoft Graph
  * UserAuthenticationMethod.ReadWrite.All

### パラメーター

#### ユーザー名

対象ユーザーのユーザー プリンシパル名。

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

#### LifetimeInMinutes

Temporary Access Pass の有効期間（分）。有効な値は 60 分から 480 分（1～8 時間）です。

| プロパティ | 値     |
| ----- | ----- |
| 必須    | false |
| 既定値   | 240   |
| 種類    | Int32 |

#### OneTimeUseOnly

true に設定すると、パスは 1 回だけ使用できます。

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

#### NotifyUser

有効にすると、作成されたばかりの TAP について、ユーザーのプライマリ メール アドレスに通知メールを送信します。

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

#### EmailFrom

送信者のメールアドレスです。これは runbook のカスタマイズで構成する必要があります。

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

#### ServiceDeskDisplayName

ユーザーの連絡先情報用の Service Desk 表示名（省略可）。

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

#### ServiceDeskEmail

ユーザーの連絡先情報用の Service Desk のメール アドレス（省略可）。

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

#### ServiceDeskPhone

ユーザーの連絡先情報用の Service Desk の電話番号（省略可）。

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

[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/security/create-temporary-access-pass.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.
