> 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/general/reprovision-windows365.md).

# Windows365 を再プロビジョニング

このユーザーの Windows 365 Cloud PC を再プロビジョニング

### 説明

このユーザーの既存の Windows 365 Cloud PC を再プロビジョニングします。Cloud PC は同じライセンスで最初から再構築されるため、保存されているものはすべて失われます。ユーザーの割り当ては維持されます。必要に応じて、再プロビジョニング開始時にユーザーへメールを送信します。

### ライセンス グループをドロップダウンとして提供します

ライセンス グループは既定ではテキスト フィールドです。runbook のカスタマイズを通じて、Tenant のライセンス グループをドロップダウンで提供します:

```json
"rjgit-user_general_reprovision-windows365": {
    "Parameters": {
        "licWin365GroupName": {
            "SelectSimple": {
                "lic - Windows 365 Enterprise - 2 vCPU 4 GB 128 GB": "lic - Windows 365 Enterprise - 2 vCPU 4 GB 128 GB",
                "lic - Windows 365 Enterprise - 2 vCPU 4 GB 256 GB": "lic - Windows 365 Enterprise - 2 vCPU 4 GB 256 GB"
            }
        }
    }
}
```

ランブックのカスタマイズ方法の詳細については、 [ランブック カスタマイズ ガイド](https://docs.realmjoin.com/automation/runbooks/runbook-customization).

### 場所

ユーザー → 全般 → Windows365 の再プロビジョニング

**完全な Runbook 名**

rjgit-user\_general\_reprovision-windows365

### 詳細

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

### 権限

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

* **種類**: Microsoft Graph
  * GroupMember.ReadWrite.All
    * *ライセンス グループのメンバーを読み取り、ユーザーが Windows 365 ライセンスを保持していることを確認します*
  * Group.ReadWrite.All
    * *表示名でライセンス グループを見つけ、割り当て済みライセンスを読み取ります*
  * Directory.Read.All
    * */subscribedSkus を読み取り、グループの SKU をサービス プランにマッピングして Cloud PC と照合します*
  * CloudPC.ReadWrite.All
    * *ユーザーの Cloud PC を一覧表示し、再プロビジョニング操作をトリガーします*
  * User.Read.All
    * *UPN でユーザーを解決し、メール送信前にメールボックスの存在を確認します*
  * Mail.Send *(オプション — 機能: メール レポート)*
    * *sendMailWhenReprovisioning が有効な場合、/users/{from}/sendMail を使用してユーザーに通知します*

### パラメーター

#### UserName

Runbook が対象とするユーザーのユーザー プリンシパル名。ポータルで選択されたユーザーから設定されます。

| プロパティ    | 値                         |
| -------- | ------------------------- |
| 必須       | true                      |
| 既定値      |                           |
| 種類       | 文字列                       |
| ポータルで非表示 | はい (Runbook のカスタマイズで事前設定) |

#### licWin365GroupName

再プロビジョニングする Cloud PC のライセンス グループ。グループ名を入力するか、runbook のカスタマイズで一覧が提供される場合はそこから選択してください。

| プロパティ   | 値                                                 |
| ------- | ------------------------------------------------- |
| 必須      | true                                              |
| 既定値     | lic - Windows 365 Enterprise - 2 vCPU 4 GB 128 GB |
| 種類      | 文字列                                               |
| ポータル表示名 | Cloud PC の Windows 365 ライセンス                      |

#### sendMailWhenReprovisioning

再プロビジョニングが開始されるとすぐに、ユーザーにメールを送信します。

| プロパティ   | 値                              |
| ------- | ------------------------------ |
| 必須      | false                          |
| 既定値     | False                          |
| 種類      | ブール値                           |
| ポータル表示名 | 再プロビジョニングが開始されたときにユーザーへ通知しますか？ |

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

| ポータル オプション | 値     |
| ---------- | ----- |
| メールを送信しない  | false |
| メールを送信する   | true  |

#### fromMailAddress

通知メールの送信元となるメールボックス。

| プロパティ   | 値                     |
| ------- | --------------------- |
| 必須      | false                 |
| 既定値     | <reports@contoso.com> |
| 種類      | 文字列                   |
| ポータル表示名 | 送信者メールボックス            |

#### customizeMail

標準の通知テキストを独自のメッセージに置き換えます。

| プロパティ   | 値                 |
| ------- | ----------------- |
| 必須      | false             |
| 既定値     | False             |
| 種類      | ブール値              |
| ポータル表示名 | 通知メールをカスタマイズしますか？ |

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

| ポータル オプション      | 値     |
| --------------- | ----- |
| 標準のメールを使用する     | false |
| カスタム メッセージを使用する | true  |

#### customMailMessage

通知メールの本文。

| プロパティ   | 値                                  |
| ------- | ---------------------------------- |
| 必須      | false                              |
| 既定値     | ここにカスタム メッセージを挿入してください。（3000 文字まで） |
| 種類      | 文字列                                |
| ポータル表示名 | カスタム メッセージ                         |

[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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.realmjoin.com/ja/zi-dong-hua/runbooks/runbook-references/user/general/reprovision-windows365.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
